Browse Source

Display purpose on left prompt

DricomDragon 4 years ago
parent
commit
109cd041d9
1 changed files with 6 additions and 0 deletions
  1. 6 0
      Install/Templates/home/config/fish/functions/fish_prompt.fish

+ 6 - 0
Install/Templates/home/config/fish/functions/fish_prompt.fish

@@ -23,6 +23,12 @@ function fish_prompt --description 'Write out the prompt'
     # Second line
     echo
 
+    # Purpose
+    set_color blue
+    echo -n $FISH_SHELL_PURPOSE
+    set_color normal
+
+    # VCS
     __terlar_git_prompt
     __fish_hg_prompt
     echo