Fix fish_prompt function.

master
Paweł Korzeniewski 8 years ago
parent d0bdc7d9a2
commit 9c82beddd7
  1. 4
      gitprompt.fish

@ -1,6 +1,8 @@
# name: bash-git-prompt
# author: Mariusz Smykuła <mariuszs@gmail.com>
function fish_prompt
if not set -q __GIT_PROMPT_DIR
set __GIT_PROMPT_DIR ~/.bash-git-prompt
end
@ -37,8 +39,6 @@ set GIT_PROMPT_UNTRACKED "…"
set GIT_PROMPT_STASHED "⚑ "
set GIT_PROMPT_CLEAN "$BGreen"
function fish_prompt
# Various variables you might want for your PS1 prompt instead
set Time (date +%R)
set PathShort (pwd|sed "s=$HOME=~=")

Loading…
Cancel
Save