There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

programmer_humor

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

Sh1nyM3t4l4ss , in D or d come on

Use a shell with decent auto-completion. I have not been irritated by this in years.

nogooduser ,

Won’t autocomplete fail if you do “cd d” and then try the autocomplete?

Or is that what you mean by “decent” auto-completion?

bdonvr ,

No, it will probably go to “Documents”, and if you hit tab again it should go to “Downloads”. (Assuming you have the normal default folders)

rasensprenger ,

bash’s autocomplete fails (at least with default settings), but e.g. zsh can figure out what you mean

newIdentity ,

Not with a decent autocomplete. It will look for a folder starting with a small d and if it doesn’t exist it looks at a folder with a large D.

pgp ,

The choice of the letter d was brilliant, that’s for sure. Now I’m imagining a folder with a large D.

newIdentity ,

I don’t get what you mean. It doesn’t matter if you write a uppercase or lowercase d

pgp ,
Skimmer ,

What shell would you recommend? 🤔

Sh1nyM3t4l4ss ,

I use fish which is quite nice OOTB, although if you want a posix compliant shell, zsh with some plugins is also great.

ayaya ,
@ayaya@lemdro.id avatar

If you need to run a set of commands or a script with fish you can just toss them in a file and run bash file.sh. I have been daily driving fish for years and I don’t even have think about it.

stevehobbes ,
yum13241 ,

Is fucking irrelevant. Just use your package manager.

stevehobbes ,

Get some anger management help.

yum13241 ,

Maybe stop trying to be a smartass.

Swedneck ,
@Swedneck@discuss.tchncs.de avatar

I personally like xonsh despite the minor amount of wonkiness it has, it’s so nice to have python available directly in your shell, it takes the “i don’t care about the quality of my code i just want this shit to work with minimal effort”-ness of bash and turns it up to 13.

wviana ,

Zsh.

Omg looks like people think omz is a shell.

Zaphod ,

Oh my zsh?

wviana ,

No. Zsh. It’s pretty easy to have a nice auto compl. No need for omz. After knowing poweline10k I just use it and syntax highlight plugin, manually installed. There is no need to add entire omz.

lightnsfw ,

I just don’t use caps when naming directories

stingpie , in It’s a game for kids!

Did you guys find this hard? There are only four possible ways to move a ring, two of which are disallowed by the rules. Out of the remaining two, one of them is simply undoing what you just did.

Voli , in Steal What Is Stolen

Hey! we designers have mastered the imposter syndrome.

krey , in D or d come on

If you want to keep case sensitive completion, you can symlink it. It’s your home dir. Make yourself comfortable.

Morphit ,
@Morphit@feddit.uk avatar

There’s no place like ~.

ayushnix , in D or d come on
@ayushnix@lemmy.sdf.org avatar

using capital letters in file/directory names on Linux :|

jonne ,

It’s a default on some distros, unfortunately, and changing it without updating the necessary env vars will break a bunch of stuff.

BeanCounter ,

Doesn’t Ubuntu do this? I use Ubuntu inside WSL and it bugged me so fucking much

ayushnix ,
@ayushnix@lemmy.sdf.org avatar

It would be a default on almost every distro that follows XDG specifications to have stuff like Downloads, Pictures, Videos in the $HOME folder. One of the first things I do as part of an installation is to modify ~/.config/user-dirs.dirs and set a specific folder, say /data/downloads or ~/downloads, for every XDG base directory.

muntedcrocodile , in D or d come on
@muntedcrocodile@lemmy.world avatar

Doesn’t fish basically fix this?

pgp ,

This is not a bug, it doesn’t need to be fixed.

avonarret1 ,

It’s funny that you’re getting down voted for telling the truth. Nothing to be subjective about either. 😅

muntedcrocodile ,
@muntedcrocodile@lemmy.world avatar

Would hope so

mindbleach ,

There are solid technical reasons whenever someone’s computer doesn’t work the way they expect.

They don’t matter.

The software can do what people want, or it can be wrong.

pgp ,

Wrong, it does matter. Just because it’s not working as you want, doesn’t mean it’s not working as expected.

mindbleach ,

It literally does.

xoggy ,
@xoggy@programming.dev avatar

You can set bash or zsh to case-insensitive tab completion as well.

muntedcrocodile ,
@muntedcrocodile@lemmy.world avatar

Seems like poor configuration either default or not

d_k_bo ,
Astaroth ,

yeah Fish tab completion works, but one thing I’ve noticed though is that tab completion for wrong case only works if there’s no option with the correct case

e.g. if I have Downloads and Downloads2 then d with tab completion will become Downloads, but if I have Downloads and downloads2 it will tab complete to downloads2 and D will complete to Downloads

I’ve been meaning to look through the Fish documentation to see if I can change that and fuzzy search for history but never got around to it

catlover , in D or d come on

alias d=“cd ~/Downloads”

nogooduser , in They Need To Stop Doing This

And if you convince the project manager that it won’t work by telling them all the reasons why they come back a few days or weeks later asking why it won’t work.

joyjoy , in They Need To Stop Doing This

Corp IT when the team gets ready for production

https://i.imgflip.com/38eloc.jpg

downpunxx , in They Need To Stop Doing This
@downpunxx@kbin.social avatar

this is where the art of bullshit ..... managing expectations, comes in handy

onlinepersona , in D or d come on
brophy , in It’s a game for kids!

Kids get infinite registers and no restrictions on stack ordering. Programmers are constrained to solving it with one register and restrictions on stack put operations.

./insert we-are-not-the-same-meme

lfromanini , in D or d come on
@lfromanini@feddit.nl avatar

Zoxide and cd down. ;)

WindowsEnjoyer , in D or d come on

OMZ and TAB gang raise up!

neonblade , in It’s a game for kids!

Example for stack

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines