Comment by RhysU
4 years ago
Agreed on the value of the list. I additionally dedupe as follows:
H() { history | egrep -v '^ *[[:digit:]]+ +H +' | grep "$@" | sort -rk 2 | uniq -f 1 | sort; }
4 years ago
Agreed on the value of the list. I additionally dedupe as follows:
H() { history | egrep -v '^ *[[:digit:]]+ +H +' | grep "$@" | sort -rk 2 | uniq -f 1 | sort; }
No comments yet
Contribute on Hacker News ↗