diff options
author | Adrian Kummerlaender | 2022-12-19 10:32:59 +0100 |
---|---|---|
committer | Adrian Kummerlaender | 2022-12-19 10:32:59 +0100 |
commit | 727601150741b1afcb964798fbc46e1c62e2b178 (patch) | |
tree | 5ed36fc8fad397058e766f1b1f015f4f62bccade | |
parent | 29dbbca232c6ea30fcb547a370784a6cfb9dfec2 (diff) | |
download | nixos_system-727601150741b1afcb964798fbc46e1c62e2b178.tar nixos_system-727601150741b1afcb964798fbc46e1c62e2b178.tar.gz nixos_system-727601150741b1afcb964798fbc46e1c62e2b178.tar.bz2 nixos_system-727601150741b1afcb964798fbc46e1c62e2b178.tar.lz nixos_system-727601150741b1afcb964798fbc46e1c62e2b178.tar.xz nixos_system-727601150741b1afcb964798fbc46e1c62e2b178.tar.zst nixos_system-727601150741b1afcb964798fbc46e1c62e2b178.zip |
Show flake env name in fish
-rw-r--r-- | fish.nix | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -55,8 +55,8 @@ echo -n -s 'λ ' "$__fish_prompt_cwd" (prompt_pwd) "$__fish_prompt_normal" if test $IN_NIX_SHELL - if test $NIX_SHELL_NAME - echo -n -s ' (' $NIX_SHELL_NAME ')' + if test $name + echo -n -s ' (' $name ')' else echo -n -s ' (nix-shell)' end |