소스 검색

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