gabebw / most-used

Find your most-used shell commands
BSD 3-Clause "New" or "Revised" License
12 stars 0 forks source link

Commands separated by a pipe are counted separately #8

Closed gabebw closed 7 years ago

gabebw commented 7 years ago

For example, take the following history item:

echo "hello" | sed 's/hello/hi'

Previously, this would be one command, echo, with some pretty weird arguments.

Now most-used is smart enough to understand that the pipe separates two commands.