ios – Completely ignore mac system folders


I’m a software program developer who lives 90% of the time within the terminal. Apple has decided that the $HOME listing is the precise place to retailer all of their multimedia and software directories, which pollutes my workspace. Unix based mostly instruments, techniques and purposes anticipate their configurations to be put in in $HOME, so any time I would like to seek out one thing (discover, recursive grep, fzf) there’s extra ineffective cruft to wade by.

I can not merely reassign $HOME to a distinct listing, because the OS will out of the blue begin saving all of its cruft to the brand new listing.

“Simply use a distinct listing to work out of” can be a nice advice if I did not additionally have to always search utility/config recordsdata and folders that, by conference, are all saved in ~/, and no I am not going to rebuild each single Unix cli software by hand to relocate the place it should seek for their configurations.

What I would like is a solution to completely ignore all Mac system recordsdata and folders from the CLI. I’m attempting to determine if there’s some mechanism offered by Apple, or if there’s some intelligent system degree file I can edit, that simply waves its fingers and lets me faux that every one the obligatory system folders do not exist from inside a terminal atmosphere. I imply all cli instruments, ls -al shouldn’t reveal them, vim and emacs shouldn’t listing them, fzf, recursive grep and discover should not get slowed down looking by them…

I am not on the lookout for a hack for a single script, however a systemwide, everlasting answer, or technique for avoiding this design ulcer.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles