dotfiles

Author: Kyle Fuller <kyle@fuller.li> 2015-02-25 20:26:18 +0000 +0000
Committer: Kyle Fuller <kyle@fuller.li> 2015-02-25 20:26:18 +0000 +0000
Commit: 434a1e2a7ae97c0c13c29f276deee12c24e564c8
Parent: d35c78d81ed953a2ae2ff88bc75b10f62d07765b


[fish] Colour remote sessions
diff --git a/.config/fish/functions/fish_prompt.fish b/.config/fish/functions/fish_prompt.fish
index 6509692706cebc275e1803ed35c0173e61acaea3..6bde99bf27b395d97c6bc5084c184f1b9030257e 100644
--- a/.config/fish/functions/fish_prompt.fish
+++ b/.config/fish/functions/fish_prompt.fish
@@ -1,5 +1,10 @@
 function fish_prompt
-    set_color $fish_color_cwd
+    if test -n $SSH_TTY
+        set_color FF69B4
+    else
+        set_color $fish_color_cwd
+    end
+
     echo -n '$ '
     set_color normal
 end