mirror of
https://github.com/lloeki/dotfiles.git
synced 2025-12-06 07:24:39 +01:00
Enable Nix
This commit is contained in:
parent
d0e09a7149
commit
8930c9e228
3 changed files with 10 additions and 0 deletions
|
|
@ -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}"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue