[zsh] only load nix-shell module when nix is installed

This commit is contained in:
odrling 2023-11-27 20:07:18 +01:00
parent 61cb1ec25d
commit e4998d53c0
No known key found for this signature in database
GPG key ID: E24CA7508C27AF5B

3
.zshrc
View file

@ -19,8 +19,7 @@ zinit light zsh-users/zsh-completions
zinit light zsh-users/zsh-autosuggestions
[ -z "$NVIM" ] && (zinit ice wait ""; zinit light jeffreytse/zsh-vi-mode)
zinit ice wait"1" lucid
zinit light chisui/zsh-nix-shell
zinit ice has'nix-shell' wait"1" lucid; zinit light chisui/zsh-nix-shell
zinit ice has'fzf' wait lucid; zinit snippet ~/.bash/fzf/shell/completion.zsh
zinit ice has'fzf' wait lucid; zinit snippet ~/.bash/fzf/shell/key-bindings.zsh