add direnv

This commit is contained in:
2023-03-11 14:18:22 +01:00
parent 4254221f77
commit 5bc28cd188
3 changed files with 13 additions and 2 deletions

View File

@ -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