ZSH: Give .profile highest priority in .zshrc
This commit is contained in:
parent
6b8cdc8a52
commit
41b4a4687f
8
.zshrc
8
.zshrc
@ -1,10 +1,6 @@
|
||||
#export PATH=$HOME/.bin:$HOME/.local/bin:/usr/local/bin:$PATH
|
||||
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.
|
||||
@ -58,3 +54,7 @@ autoload -Uz compinit
|
||||
compinit
|
||||
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
|
||||
if [[ -f "$HOME/.profile" ]]; then
|
||||
source "$HOME/.profile" 2>& /dev/null
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user