don't active direnv under mc
This commit is contained in:
parent
b99973706f
commit
4dc712b32d
1 changed files with 5 additions and 1 deletions
|
@ -45,7 +45,11 @@ DISABLE_AUTO_UPDATE="true"
|
||||||
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
|
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
|
||||||
# Example format: plugins=(rails git textmate ruby lighthouse)
|
# Example format: plugins=(rails git textmate ruby lighthouse)
|
||||||
# Add wisely, as too many plugins slow down shell startup.
|
# Add wisely, as too many plugins slow down shell startup.
|
||||||
plugins=(git z sudo docker laya-repo direnv fzf timer)
|
plugins=(git z sudo docker laya-repo fzf timer)
|
||||||
|
if [[ -z "$MC_SID" ]]
|
||||||
|
then
|
||||||
|
plugins+=direnv
|
||||||
|
fi
|
||||||
|
|
||||||
source $ZSH/oh-my-zsh.sh
|
source $ZSH/oh-my-zsh.sh
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue