SagXD@lemm.ee to linuxmemes@lemmy.world · 1 year ago2Lazy2Typewww.commitstrip.comimagemessage-square71fedilinkarrow-up11.11Karrow-down114
arrow-up11.1Karrow-down1image2Lazy2Typewww.commitstrip.comSagXD@lemm.ee to linuxmemes@lemmy.world · 1 year agomessage-square71fedilink
minus-squaretetraodon@feddit.itlinkfedilinkarrow-up19·edit-21 year agoalias ls = "cat ~/.bash_history | grep ls" Edit: Even better: alias ls = "$( cat ~/.bash_history | grep -x ls | tail -1 )"
minus-squareCaveman@lemmy.worldlinkfedilinkarrow-up2·edit-21 year agoThat’s just showing off, take an upvote
alias ls = "cat ~/.bash_history | grep ls"
Edit: Even better:
alias ls = "$( cat ~/.bash_history | grep -x ls | tail -1 )"
That’s just showing off, take an upvote