.zshrc: Source /etc/profile if it exists

This commit is contained in:
Salt 2017-08-16 01:53:55 -05:00
parent 2215c588a8
commit d19ace489e

5
.zshrc
View File

@ -1,4 +1,7 @@
export PATH=$HOME/.bin:$HOME/.local/bin:/usr/local/bin:$PATH
#export PATH=$HOME/.bin:$HOME/.local/bin:/usr/local/bin:$PATH
if [[ -f "/etc/profile" ]]; then
source /etc/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.