I'm currently trying to clean up my Mac. I hate it when my home directory (~) is full with config files and stuff I don't want to see all the time (.bash_history
, .bash_sessions
, etc.).
My idea about it was to create one folder .dotfiles and one folder .other which should contain all these files (.bash_profile
, .vimrc
in subdirectories of .dotfiles - less important files in .other).
I'm currently trying to find a way to achieve this. Symlinks came to my mind, but I'm not really sure if they are meant for something like this or whether there is a better way. How can I even create a symlink for files that already exists in place A and doesn't exist in place B yet and I want the system to see them at play B instead of place A?
Any clean-up tips in general are more than welcome!
PS: Just deleting and creating an empty file at place B doesn't work. My .bash_history
didn't work with a symlink to an empty file.