[split] Move fishface theme to oh-my-fish/theme-fishface

https://github.com/oh-my-fish/theme-fishface
This commit is contained in:
Justin Hileman 2015-05-31 08:30:50 -07:00
parent 983057126f
commit b0f5dfa2f6
2 changed files with 0 additions and 25 deletions

View File

@ -1,5 +0,0 @@
## FishFace
Shows an ASCII fish which is blue or green when in a git repo.
![fishface theme](https://f.cloud.github.com/assets/66143/1224622/ec9660d8-2750-11e3-9c96-cb7a5a69eada.png)

View File

@ -1,20 +0,0 @@
# name: FishFace
function _git_branch_name
echo (command git symbolic-ref HEAD ^/dev/null | sed -e 's|^refs/heads/||')
end
function _is_git_dirty
echo (command git status -s --ignore-submodules=dirty ^/dev/null)
end
function fish_prompt
set -l blue (set_color -o blue)
set -l green (set_color -o green)
if [ (_git_branch_name) ]
echo -n -s "$green><(((\"> "
else
echo -n -s "$blue><(((\"> "
end
end