Просмотр исходного кода

Display purpose on left prompt

DricomDragon 4 лет назад
Родитель
Сommit
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