zshrc: conditionally load asdf.sh
This commit is contained in:
parent
5cdc5b1644
commit
e7cd64615e
3
.zshrc
3
.zshrc
@ -2,6 +2,7 @@
|
||||
ZSH=$HOME/.oh-my-zsh
|
||||
ZSH_CACHE_DIR="$ZSH/cache"
|
||||
|
||||
[ -z "$IN_NIX_SHELL" ] && . $HOME/.asdf/asdf.sh
|
||||
# necessary to include "/usr/share/zsh/"$(zsh --version| cut -d ' ' -f2)/functions"
|
||||
# due to a breakage on fedora zsh version 5.8.1 (zsh.x86_64 5.8.1-1.fc35 @updates)
|
||||
fpath=(
|
||||
@ -70,7 +71,7 @@
|
||||
# Would you like to use another custom folder than $ZSH/custom?
|
||||
# ZSH_CUSTOM=/path/to/new-custom-folder
|
||||
|
||||
plugins=(asdf git gitignore golang safe-paste systemd terraform lol)
|
||||
plugins=(git gitignore golang safe-paste systemd terraform lol)
|
||||
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets pattern cursor)
|
||||
|
Loading…
Reference in New Issue
Block a user