3 ms·
I use this one all the time: # View/search history hh () { if [ -z $1 ] ; then history | tail -40 else history
by Leftium 3y ago
I use this one all the time:
# View/search history
hh () {
if [ -z $1 ] ; then
history | tail -40
else
history | grep $1
fi
}