cd .../...
linuxmemes
Hint: :q!
Sister communities:
Community rules (click to expand)
1. Follow the site-wide rules
- Instance-wide TOS: https://legal.lemmy.world/tos/
- Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
2. Be civil
3. Post Linux-related content
sudo
in Windows.4. No recent reposts
5. π¬π§ Language/ΡΠ·ΡΠΊ/Sprache
6. (NEW!) Regarding public figures
We all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.Please report posts and comments that break these rules!
Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.
I've used a script that made 'up 4' a thing. Forgot to migrate it though.
Heyy I have that in my .bashrc
Works a charm
Had it in my .zshrc. I should look for it, it was helpful
Honestly I haven't tried this on Linux yet, but didn't Windows implement this somewhere along the way?...
cd ....
I aliased cd
to a custom funtion in my bashrc to do this at one point, but cd ../../../..
is too engrained so I never rembered to use it.
You will probably like zoxide (i am not sure about policy on links here, but here you go https://github.com/ajeetdsouza/zoxide)
Zoxide is nice, or use Yazi so you can actually see where you're going.
Wait until we tell them about autojump
Why no cd /////// speceficterm if you know how deep it is
Those are supposed to be stars. I'm not fixing this on a phone
The history
of the CTO at a previous job was filled with dc
and sl
because he was a fucking moron. Yes I'm still bitter that he earned way more money than me who had to fix all his mess.
I feel called out. Should definitely make an alias or two that auto CDs me the amount of times I need...
td aliased to cd $(whatever the command is to get the git root directory)
I guess if you enjoy being a virgin that much you can do it that way.
Well, mom said I could be anything when I grew up...
z myDir
Nah, I always cd
to full path, that way I can easily use my history to move back there
cd /some/thing/i/remember
Childhood me with only MS-DOS machines is all feeling nostalgic.
git () { if [ "$1" = "cd" ] then shift cd "./$(command git rev-parse --show-cdup)$*" else command git "$@" fi }