add direnv
This commit is contained in:
11
zsh/.zshrc
11
zsh/.zshrc
@ -99,7 +99,6 @@ plugins=(
|
||||
export EDITOR=/usr/bin/nvim
|
||||
export VISUAL=/usr/bin/nvim
|
||||
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
|
||||
alias vim="nvim"
|
||||
alias ls="ls --color"
|
||||
@ -127,4 +126,12 @@ notify(){
|
||||
notify-send $message
|
||||
}
|
||||
|
||||
eval "$(starship init zsh)"
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
|
||||
if type starship &> /dev/null; then
|
||||
eval "$(starship init zsh)"
|
||||
fi
|
||||
|
||||
if type direnv &> /dev/null; then
|
||||
eval "$(direnv hook zsh)"
|
||||
fi
|
||||
|
Reference in New Issue
Block a user