News for hackers. Stuff that matters.
Re:Hardcoded Folder Icons in macOS by alpaca128 on Thursday February 09, 2023 @05:06AM (#34721846)
Too bad its first letter collides with Desktop, Downloads and Documents, all of which cannot be removed. One of the little details I miss from Linux.

I usually call that directory just "dev", and use lowercase names for all custom directories so zsh completion actually works.

Re:Hardcoded Folder Icons in macOS by marionauta on Thursday February 09, 2023 @05:37AM (#34722053)
What I do is create a symbolic link to the "Developer" folder called "src". Both folders have the custom icon, and I can `cd src/project`!
Re:Hardcoded Folder Icons in macOS by ttepasse on Thursday February 09, 2023 @05:56AM (#34722196)
> Too bad its first letter collides with Desktop, Downloads and Documents, all of which cannot be removed.

For a "clean" home directory I started to visible hide default folders I have no interest in:

  chflags hidden ~/Music
Still available in the shell or in the Finder with the ⇧⌘. shortcut but out of the way in normal use. Return to normal with the flag nohidden. Although Documents and Desktop seem to be a special case because of the iCloud shenanigans. I seem to have hidden them in the past, but can’t unhide them. :/
Re:Hardcoded Folder Icons in macOS by mattl on Thursday February 09, 2023 @07:16AM (#34722833)
Where do you keep your music?
Re:Hardcoded Folder Icons in macOS by raldi on Thursday February 09, 2023 @07:22AM (#34722903)
Who keeps music?
Re:Hardcoded Folder Icons in macOS by mattl on Thursday February 09, 2023 @08:07AM (#34723362)
There’s dozens of us
Re:Hardcoded Folder Icons in macOS by jrochkind1 on Thursday February 09, 2023 @08:52AM (#34723851)
me too! we should all meet for a beer sometime.
Re:Hardcoded Folder Icons in macOS by Maursault on Friday February 10, 2023 @11:30AM (#34741865)
> For a "clean" home directory I started to visible hide default folders I have no interest in: > chflags hidden ~/Music

I sort of do the opposite. I hide any folders I add to the home directory

      chflags hidden ~/bin 

      chflags hidden ~/Applications

      chflags hidden ~/sandbox
so that in the unlikely event anyone sees my home directory, there is absolutely nothing interesting about it. "This looks like a clean install. Nothing to see here."