sag@lemm.ee to linuxmemes@lemmy.world · 1 year ago2Lazy2Typewww.commitstrip.comimagemessage-square68fedilinkarrow-up11.09Karrow-down113
arrow-up11.08Karrow-down1image2Lazy2Typewww.commitstrip.comsag@lemm.ee to linuxmemes@lemmy.world · 1 year agomessage-square68fedilink
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