weird@sub.wetshaving.social to linuxmemes@lemmy.world · 3 months agoThat is the waysub.wetshaving.socialimagemessage-square145linkfedilinkarrow-up1935arrow-down116
arrow-up1919arrow-down1imageThat is the waysub.wetshaving.socialweird@sub.wetshaving.social to linuxmemes@lemmy.world · 3 months agomessage-square145linkfedilink
minus-squareSoulKaribou@lemmy.mllinkfedilinkarrow-up1arrow-down1·3 months agoalias !=“cd …” Approximative syntax but you get the idea.
minus-square7dev7random7@suppo.filinkfedilinkarrow-up3·3 months ago!! is the last command in my shell.
minus-squareSoulKaribou@lemmy.mllinkfedilinkarrow-up1·3 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