summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorAdrian Kummerlaender2018-04-21 19:38:27 +0200
committerAdrian Kummerlaender2018-04-21 19:38:27 +0200
commitb5205852ac22047e081535f45d0689b16aba641f (patch)
tree970971616b2224cea1ee44860c63998fdcffa516 /conf
parent478ce7035ab7af733a0390b242affb656539f16d (diff)
downloadnixos_system-b5205852ac22047e081535f45d0689b16aba641f.tar
nixos_system-b5205852ac22047e081535f45d0689b16aba641f.tar.gz
nixos_system-b5205852ac22047e081535f45d0689b16aba641f.tar.bz2
nixos_system-b5205852ac22047e081535f45d0689b16aba641f.tar.lz
nixos_system-b5205852ac22047e081535f45d0689b16aba641f.tar.xz
nixos_system-b5205852ac22047e081535f45d0689b16aba641f.tar.zst
nixos_system-b5205852ac22047e081535f45d0689b16aba641f.zip
Show nix-shell presence in fish, add ls alias
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 ' ● '