Enable Nix

This commit is contained in:
Loic Nageleisen 2020-12-21 18:20:09 +01:00
parent d0e09a7149
commit 8930c9e228
3 changed files with 10 additions and 0 deletions

View file

@ -168,6 +168,8 @@ set_prompt() {
[[ -n "$action" ]] && buffer="${buffer} %F{yellow}$action"
fi
[[ -n "${IN_NIX_SHELL}" ]] && buffer="${buffer} %F{yellow}nix"
buffer="${buffer}%f> "
PROMPT="${buffer}"
}