SagXD@lemm.ee to linuxmemes@lemmy.world · 11 months ago2Lazy2Typewww.commitstrip.comimagemessage-square62fedilinkarrow-up11.05Karrow-down114
arrow-up11.04Karrow-down1image2Lazy2Typewww.commitstrip.comSagXD@lemm.ee to linuxmemes@lemmy.world · 11 months agomessage-square62fedilink
minus-squaretetraodon@feddit.itlinkfedilinkarrow-up19·edit-211 months 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-211 months 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