zsh: configure nix

This commit is contained in:
Daniel Lundin 2023-06-24 14:17:06 +02:00
parent cbc86ca7fc
commit c355831103

3
.zshrc
View file

@ -198,6 +198,9 @@ autoload -Uz compdef
autoload -U +X bashcompinit && bashcompinit
autoload -U +X compinit && compinit
## Nix
export PATH=$HOME/.nix-profile/bin:$PATH
## eksctl
if [ ! -f "${fpath[1]}/_eksctl" ]; then
command -v eksctl >/dev/null 2>&1 && eksctl completion zsh > "${fpath[1]}/_eksctl"