.zshrc: Source .profile if it exists
This commit is contained in:
parent
99033c7fd6
commit
003ea0119a
3
.zshrc
3
.zshrc
@ -2,6 +2,9 @@
|
|||||||
if [[ -f "/etc/profile" ]]; then
|
if [[ -f "/etc/profile" ]]; then
|
||||||
source /etc/profile 2>& /dev/null
|
source /etc/profile 2>& /dev/null
|
||||||
fi
|
fi
|
||||||
|
if [[ -f "$HOME/.profile" ]]; then
|
||||||
|
source "$HOME/.profile" 2>& /dev/null
|
||||||
|
fi
|
||||||
export ZSH=/home/salt/.oh-my-zsh
|
export ZSH=/home/salt/.oh-my-zsh
|
||||||
# Set name of the theme to load. Optionally, if you set this to "random"
|
# 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.
|
# it'll load a random theme each time that oh-my-zsh is loaded.
|
||||||
|
Reference in New Issue
Block a user