Skip to content

Instantly share code, notes, and snippets.

@libook
Created August 8, 2017 10:35
Show Gist options
  • Save libook/d76ee126cc33b80b73ce599ad5dc7621 to your computer and use it in GitHub Desktop.
Save libook/d76ee126cc33b80b73ce599ad5dc7621 to your computer and use it in GitHub Desktop.
New designing of "rc" files.
# First, put this on the bottom of your .zshrc .
# And then, you need to create a directory named ".zshrcs" in your home directory.
# Finally, you can create each shell script files into .zshrcs directory. Scripts which you wanted to append at the end of .zshrc before.
# Source all scripts in ~/.zshrcs/
for f in ~/.zshrcs/*; do source $f; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment