I normally use Github for my dotfiles. For a gem I am working on, I need to add some private keys to my .zshrc
.
Is there a way for me to include another file in my .zshrc
, where I can store my environment variables in that included file?
Yes, by using the source
command:
# environment variables
source ~/.zsh_env_vars