weird@sub.wetshaving.social to linuxmemes@lemmy.world · 2 days agoThat is the waysub.wetshaving.socialimagemessage-square141linkfedilinkarrow-up1894arrow-down115
arrow-up1879arrow-down1imageThat is the waysub.wetshaving.socialweird@sub.wetshaving.social to linuxmemes@lemmy.world · 2 days agomessage-square141linkfedilink
minus-squarezitrone 🍋linkfedilinkarrow-up16·1 day agoi use fish shell with https://github.com/nickeb96/puffer-fish basically when i type ... it expands to ../.. and adds another /.. for every additional dot i type its similar to what the zsh users in the comment section are doing
minus-squareoni ᓚᘏᗢ@lemmy.worldlinkfedilinkarrow-up2·edit-219 hours agoI was about to post something similar. With fish you can do your own functions, right? So, you can pass any dots as arguments to a function called cd, so, for every extra dot after .., you append a /.. at the end.
minus-squarezitrone 🍋linkfedilinkarrow-up1·edit-210 hours agoyeah, but its less visual cd ..... is harder to understand than cd ../../../.. also the extension work with any commend, not just cd
i use fish shell with https://github.com/nickeb96/puffer-fish
basically when i type
...
it expands to../..
and adds another/..
for every additional dot i typeits similar to what the zsh users in the comment section are doing
I was about to post something similar. With fish you can do your own functions, right? So, you can pass any dots as arguments to a function called
cd
, so, for every extra dot after..
, you append a/..
at the end.yeah, but its less visual
cd .....
is harder to understand thancd ../../../..
also the extension work with any commend, not just
cd
deleted by creator