SagXD to linuxmemes@lemmy.world • 9 months ago2Lazy2Typewww.commitstrip.comimagemessage-square71fedilinkarrow-up11.1Karrow-down114
arrow-up11.09Karrow-down1image2Lazy2Typewww.commitstrip.comSagXD to linuxmemes@lemmy.world • 9 months agomessage-square71fedilink
minus-square@tetraodon@feddit.itlinkfedilink19•edit-29 months agoalias ls = "cat ~/.bash_history | grep ls" Edit: Even better: alias ls = "$( cat ~/.bash_history | grep -x ls | tail -1 )"
minus-square@olafurp@lemmy.worldlinkfedilink2•edit-29 months agoThat’s just showing off, take an upvote
alias l=ls
so you can finally breathealias 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