weird@sub.wetshaving.social to linuxmemes@lemmy.world · 1 year agoThat is the waysub.wetshaving.socialimagemessage-square145linkfedilinkarrow-up1938arrow-down117
arrow-up1921arrow-down1imageThat is the waysub.wetshaving.socialweird@sub.wetshaving.social to linuxmemes@lemmy.world · 1 year agomessage-square145linkfedilink
minus-squareSoulKaribou@lemmy.mllinkfedilinkarrow-up1arrow-down1·1 year agoalias !=“cd …” Approximative syntax but you get the idea.
minus-squareSoulKaribou@lemmy.mllinkfedilinkarrow-up1·1 year 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