.zshrc: Source .profile if it exists

This commit is contained in:
Salt 2017-08-16 13:24:47 -05:00
parent 99033c7fd6
commit 003ea0119a

3
.zshrc
View File

@ -2,6 +2,9 @@
if [[ -f "/etc/profile" ]]; then
source /etc/profile 2>& /dev/null
fi
if [[ -f "$HOME/.profile" ]]; then
source "$HOME/.profile" 2>& /dev/null
fi
export ZSH=/home/salt/.oh-my-zsh
# Set name of the theme to load. Optionally, if you set this to "random"
# it'll load a random theme each time that oh-my-zsh is loaded.