Changed zsh prompt to include exit code if nonzero.
This commit is contained in:
parent
f600548718
commit
88533368a9
2
home.nix
2
home.nix
|
|
@ -68,7 +68,7 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
initExtra = ''
|
initExtra = ''
|
||||||
# Set prompt
|
# Set prompt
|
||||||
PS1='%(?..* )%B%F{green}[%n@%m %~]%(!.#.$)%f%b '
|
PS1='%(?..[%?] )%B%F{green}[%n@%m %~]%(!.#.$)%f%b '
|
||||||
'';
|
'';
|
||||||
profileExtra = ''
|
profileExtra = ''
|
||||||
export VISUAL=nvim
|
export VISUAL=nvim
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue