I reinstall my OS a lot, and I've learned to start backing up configs in iCloud Drive folder
The command I generally run (after searching google for the nth time):
ln -s "/Users/myName/Library/Mobile Documents/com~apple~CloudDocs" ~/icloud
Currently, this .zshrc
has a lot of alias
commands eg
alias sublime="/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl"
I don't know how to add a global symlink / shortcut / token to this file
How can I persist the fact that ~/icloud
or $icloud
or ICLOUD
should always refer to that path?
icloud="/Users/myName/Library/Mobile Documents/com~apple~CloudDocs"
, then refer to it as$icloud
.