From 9a787bc29107baadc4245cbddb672cb980526823 Mon Sep 17 00:00:00 2001 From: Alpha Chen Date: Thu, 5 May 2022 16:23:59 -0700 Subject: [PATCH] add nix path --- runcoms/zshrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/runcoms/zshrc b/runcoms/zshrc index 4e63361..59dc4ea 100644 --- a/runcoms/zshrc +++ b/runcoms/zshrc @@ -10,6 +10,8 @@ if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" fi +export NIX_PATH=${NIX_PATH:+$NIX_PATH:}$HOME/.nix-defexpr/channels:/nix/var/nix/profiles/per-user/root/channels + zstyle :prompt:pure:prompt:success color green export EDITOR=vim