weird@sub.wetshaving.social to linuxmemes@lemmy.world · 10 months agoThat is the waysub.wetshaving.socialimagemessage-square144linkfedilinkarrow-up1936arrow-down120
arrow-up1916arrow-down1imageThat is the waysub.wetshaving.socialweird@sub.wetshaving.social to linuxmemes@lemmy.world · 10 months agomessage-square144linkfedilink
minus-squareSoulKaribou@lemmy.mllinkfedilinkarrow-up1arrow-down1·10 months agoalias !=“cd …” Approximative syntax but you get the idea.
minus-square7dev7random7@suppo.filinkfedilinkarrow-up3·10 months ago!! is the last command in my shell.
minus-squareSoulKaribou@lemmy.mllinkfedilinkarrow-up1·10 months agoMmmm i wouldn’t type them in a sequence. Rather quickly ! and then enter. But I realise, this only makes sense in an azerty layout, where exclamation mark is close to the enter key. It’s then very fast to ! Enter and go back levels. I agree some solutions below are more elegant
alias !=“cd …”
Approximative syntax but you get the idea.
!!is the last command in my shell.Mmmm i wouldn’t type them in a sequence. Rather quickly ! and then enter.
But I realise, this only makes sense in an azerty layout, where exclamation mark is close to the enter key. It’s then very fast to ! Enter and go back levels.
I agree some solutions below are more elegant