nate-sys / muc

Visualize your most used commands
Other
224 stars 11 forks source link

Detecting `:` as command in zsh #36

Closed evening-hs closed 10 months ago

evening-hs commented 10 months ago

Following this comment in the reddit post. The regex should be:

history 0 | sed 's/[\t ]*[0-9]\+[\t ]*\([^ ]*\).*/\1/' | sort | uniq -c | sort -n | tail
evening-hs commented 10 months ago

Closing since I realized this is already being fixed in ohmyzsh branch