@rl_dane why is this a meme. wasn;t that the explicit purpose of omitted argument?
Or did you think that was just to get specifically to ~ only?

@ajit_456

It's a meme because typing cd ~/docs is the generally viewed "correct" way, as it only requires a specific command.
But even though it requires two commands, cd; cd docs is easier to type, even though it's uglier.

@rl_dane I guess we have different sense to the word "correct". At least we'd agree on that XD

@rl_dane @ajit_456

cd;cd docs

is actually fewer keypresses because there's no shift involved.

(US keyboard - on others YMMV)

@TheLancashireman @rl_dane pressing the shift is the least of your worries when the tilde is involved πŸ™ƒ

@TheLancashireman @ajit_456

I just counted it twice, and even counting ~ as two keypresses, I got 10 for both.

@rl_dane @ajit_456

You're right - I miscounted. 11 keypresses including the shift and the CR.

Off-by-1 error πŸ˜‚

@rl_dane I store all my git repositories in ~/code and I always just do

cd

cd code/

Instead of cd ../ 🀣

@roguefoam @rl_dane I do basically the same thing. Plus I put an alias in my shell config to cd into those repos from *anywhere* by only typing part of the directory name.
@Seize @rl_dane I need to do that for code but I just keep being lazy - I also need to uninstall VScode now that I'm using it and am afraid that if I alias over the code command it'll be one more way I accidentally forget about it lol

@rl_dane Who *doesn't* do it that way? Kinda reminds me of Randal Schwartz' "useless cat" examples.

https://smallo.ruhr.de/award.html

Useless Use of Cat Award

@AlgoCompSynth

Those were fun.

I still get self-conscious about my occasional use of $(ls [something]), but there are times that it's difficult to avoid.

That was me when I started using the terminal years ago. But now I try to just be more direct.
@rl_dane I do that too, but mostly because tilde is rather awkward to type on European keyboards.

@sotolf

Just curious, what's the keystroke to type a tikde on your keyboard layout?

@rl_dane AltGr (right alt key) + the key left of 1 since it's a dead key it will combine so you have to press space to get it to show up by itself and not become Γ± for example, not really a problem with ~/ but it can get cumbersome, if I use the germal layout (qwertz) then it's AltGr + the rightmost key on the qwertz row the one right of ΓΌ marked with [*+~] and again it's a dead key so you have the same maybe problem that it will combine with the next chacter if you don't space it :)
@rl_dane it being a deadkey is pretty nice in some cases though since you can do things like β‰ˆ (altGr+` `) or ≃ (altGr+` -) quite easily, but for the case when it's alone it's kind of annoying