653
That is the way (sub.wetshaving.social)
(page 2) 50 comments
sorted by: hot top controversial new old
[-] AceFuzzLord@lemm.ee 4 points 4 months ago

I feel called out. Should definitely make an alias or two that auto CDs me the amount of times I need...

[-] unsubtle@sh.itjust.works 4 points 4 months ago

Wait until we tell them about autojump

[-] h4x0r@lemmy.dbzer0.com 4 points 4 months ago* (last edited 4 months ago)
~$ mkdir -p 1/2/3/4
~$ pushd 1
~/1 ~
1$ pushd 2/3/4
~/1/2/3/4 ~/1 ~
4$ popd
~/1 ~
1$
[-] gwilikers@lemmy.ml 3 points 4 months ago* (last edited 4 months ago)

td aliased to cd $(whatever the command is to get the git root directory)

[-] astrsk@fedia.io 3 points 4 months ago
[-] CommanderCloon@lemmy.ml 3 points 4 months ago

Nah, I always cd to full path, that way I can easily use my history to move back there

[-] moopet@sh.itjust.works 3 points 4 months ago

git () { if [ "$1" = "cd" ] then shift cd "./$(command git rev-parse --show-cdup)$*" else command git "$@" fi }

[-] Shanmugha@lemmy.world 3 points 4 months ago

cd /some/thing/i/remember

[-] oplkill@lemmy.world 2 points 4 months ago
[-] Forester@pawb.social 2 points 4 months ago* (last edited 4 months ago)

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

[-] NotProLemmy@lemmy.ml 2 points 4 months ago* (last edited 4 months ago)

alias cdr='cd /'

Heh

[-] Phoenicianpirate@lemm.ee 2 points 4 months ago

Childhood me with only MS-DOS machines is all feeling nostalgic.

[-] letsgo@lemm.ee 2 points 4 months ago

I created a script called GoUpALevel.

[-] x00z@lemmy.world 2 points 4 months ago
[-] Ganbat@lemmy.dbzer0.com 2 points 4 months ago

Tbf it is less key presses since you can generally just recall the last command.

[-] Crazyslinkz@lemmy.world 2 points 4 months ago
[-] pupbiru@aussie.zone 2 points 4 months ago

and then rinse and repeat for every level because you just don’t trust that mischievous cd

[-] stupidcasey@lemmy.world 2 points 4 months ago* (last edited 4 months ago)

I guess if you enjoy being a virgin that much you can do it that way.

[-] Eyedust@lemmy.dbzer0.com 4 points 4 months ago

Well, mom said I could be anything when I grew up...

load more comments
view more: ‹ prev next ›
this post was submitted on 25 May 2025
653 points (98.2% liked)

linuxmemes

27584 readers
398 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn, no politics, no trolling or ragebaiting.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. 🇬🇧 Language/язык/Sprache
  • This is primarily an English-speaking community. 🇬🇧🇦🇺🇺🇸
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • 6. (NEW!) Regarding public figuresWe 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.
  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.
  •  

    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.

    founded 2 years ago
    MODERATORS