Преглед изворни кода

Display purpose on left prompt

DricomDragon пре 4 година
родитељ
комит
109cd041d9
1 измењених фајлова са 6 додато и 0 уклоњено
  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