I’m a software program developer who lives 90% of the time within the terminal. Apple has decided that the $HOME
listing is the correct place to retailer all of their multimedia and utility 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 want to seek out one thing (discover
, recursive grep
, fzf
) there may be extra ineffective cruft to wade by means of.
I can’t merely reassign $HOME
to a special listing, because the OS will out of the blue begin saving all of its cruft to the brand new listing.
“Simply use a special listing to work out of” can be a superb advice if I did not additionally must 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 device by hand to relocate the place it’ll seek for their configurations.
What I want is a strategy to completely ignore all Mac system recordsdata and folders from the CLI. I’m attempting to establish if there may be some mechanism offered by Apple, or if there’s some intelligent system degree file I can edit, that simply waves its palms and lets me faux that each one the necessary system folders do not exist from inside a terminal surroundings. I imply all cli instruments, ls -al
shouldn’t reveal them, vim
and emacs
shouldn’t checklist them, fzf
, recursive grep
and discover
should not get slowed down looking out by means of them…
I am not in search of a hack for a single script, however a systemwide, everlasting answer, or technique for avoiding this design ulcer.