Keep your .zshrc
organized in ~/zsh_scripts
and load them using ${ZSH_SCRIPTS}/bootstrap
.
Inspired by Your ~/.bashrc doesn't have to be a mess and relative lobste.rs conversation.
# Clone the repo and remove .git dir
npx degit https://github.com/borracciaBlu/zsh_scripts ~/zsh_scripts
# To paste in .zshrc and load scipts
ZSH_SCRIPTS=~/zsh_scripts
[[ -r ${ZSH_SCRIPTS}/bootstrap ]] && . ${ZSH_SCRIPTS}/bootstrap