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.

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

steltek , in D or d come on

Here’s how to fix this[+]

Create $HOME/.config/user-dirs.dirs with

XDG_DOWNLOAD_DIR=“$HOME/downloads”

You may need to logout/in for things to reread this file.

The full list of keys is:

  • XDG_DESKTOP_DIR
  • XDG_DOWNLOAD_DIR
  • XDG_TEMPLATES_DIR
  • XDG_PUBLICSHARE_DIR
  • XDG_DOCUMENTS_DIR
  • XDG_MUSIC_DIR
  • XDG_PICTURES_DIR
  • XDG_VIDEOS_DIR

+: Since this is Linux, this is a fix for many but not all cases.

lastweakness ,

XDG User dirs are cool, i agree. But that’s not really the problem here

odium , in It’s a game for kids!

It’s even called tower of Hanoi because of the Vietnam war flashbacks.

starman , (edited ) in D or d come on
@starman@programming.dev avatar

So you type cd D tab and it brings you to Documents

newIdentity , in D or d come on

Use Zsh or Fish and tab completion.

janAkali ,

Or better yet, use z or zoxide:
“z down” will fuzzy match the “~/Download” folder.

words_number ,

This is the way!

seitanic ,
@seitanic@lemmy.sdf.org avatar

Yeah, if that’s the only reason, changing your shell is overkill.

Astaroth ,

Never used or heard of it before but apparently zoxide is only for cd command, do you happen to know if there’s some fuzzy match for in general?

At the moment what I do is history foo | grep -i “bar”

idunnololz , in What's your most obscure binding?
@idunnololz@lemmy.world avatar

That’s some shitty, lossy compression.

Karyoplasma ,

I want to solve: What is .jpg?

bruhduh ,
@bruhduh@lemmy.world avatar

Nah man, that is some crispy jpeg memes

willya , in D or d come on
@willya@lemmyf.uk avatar

You know you prefer the D

Moc ,

OP can definitely handle a bigger D

TetrisIQ , in D or d come on

You can also disable case sensivity in bash

MooseBoys ,

this seems like a recipe for disaster

rtxn ,

Since Linux 5.2, you can disable case sensitivity on the filesystem level on ext4 (called case folding).

MooseBoys ,

I wonder how many things subtly break when you enable that option.

Dizzar ,

How to shoot yourself in the foot in one simple step

1984 ,
@1984@lemmy.today avatar

Is this a competition for worst idea to solve the problem? :)

AnUnusualRelic ,
@AnUnusualRelic@lemmy.world avatar

Is there also an option to only have 8.3 filenames? Those long names are so tiresome.

xeekei ,

This is default in SteamOS.

tigerjerusalem ,

Honest question: is case sensitivity that important? Are there files named settings.ini and Settings.ini, for example, in the same folder that do different things?

SorteKanin , in D or d come on
@SorteKanin@feddit.dk avatar

Or use a nicer alternative like zoxide! :)

Slartibartfass ,

Or Windows ;)

Luvon , in D or d come on

cd dow *tab

Uncle_Iroh , in D or d come on

Because you need to cd “path to directory” not cd “name” lol

genfood OP ,

lol

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