3 ms·
I have a lil thing I call "did" that just greps my shell history for a term, sorting and de-duplicating the result: $ cat `which did` grep $1 ~/.bash_h
by carapace 9y ago
I have a lil thing I call "did" that just greps my shell history for a term, sorting and de-duplicating the result:
$ cat `which did`
grep $1 ~/.bash_history | sort | uniq
I also set HISTSIZE=10000000
I don't mind having a large history file laying around because it's so useful.