summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf')
-rw-r--r--conf/fish.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/conf/fish.nix b/conf/fish.nix
index 8684595..75af413 100644
--- a/conf/fish.nix
+++ b/conf/fish.nix
@@ -43,6 +43,10 @@
echo -n -s 'λ ' "$__fish_prompt_cwd" (prompt_pwd) "$__fish_prompt_normal"
+ if test $IN_NIX_SHELL
+ echo -n -s ' (nix-shell)'
+ end
+
if test $last_status -gt 0
set_color $fish_color_cwd_root
echo -n -s ' ● '