From 3b9a026a5708c18e95b2a122c67f8d80b7688ace Mon Sep 17 00:00:00 2001 From: Justin Hileman Date: Sun, 31 May 2015 08:30:50 -0700 Subject: [PATCH] [split] Move fox theme to oh-my-fish/theme-fox https://github.com/oh-my-fish/theme-fox --- themes/fox/README.md | 5 ----- themes/fox/fish_prompt.fish | 42 ------------------------------------- 2 files changed, 47 deletions(-) delete mode 100644 themes/fox/README.md delete mode 100644 themes/fox/fish_prompt.fish diff --git a/themes/fox/README.md b/themes/fox/README.md deleted file mode 100644 index a3b290d..0000000 --- a/themes/fox/README.md +++ /dev/null @@ -1,5 +0,0 @@ -## fox - -cloned from oh-my-zsh. - -![fox theme](http://i60.tinypic.com/2myaibn.jpg) diff --git a/themes/fox/fish_prompt.fish b/themes/fox/fish_prompt.fish deleted file mode 100644 index 8b2e5ef..0000000 --- a/themes/fox/fish_prompt.fish +++ /dev/null @@ -1,42 +0,0 @@ -function fish_prompt - # Cache exit status - set -l last_status $status - - # Just calculate these once, to save a few cycles when displaying the prompt - if not set -q __fish_prompt_hostname - set -g __fish_prompt_hostname (hostname|cut -d . -f 1) - end - if not set -q __fish_prompt_char - switch (id -u) - case 0 - set -g __fish_prompt_char '#' - case '*' - set -g __fish_prompt_char '>' - end - end - - # Setup colors - set -l normal (set_color normal) - set -l red (set_color red) - set -l cyan (set_color cyan) - set -l white (set_color white) - - # Configure __fish_git_prompt - set -g __fish_git_prompt_char_stateseparator ' ' - set -g __fish_git_prompt_color white - set -g __fish_git_prompt_color_flags red - set -g __fish_git_prompt_color_prefix cyan - set -g __fish_git_prompt_color_suffix cyan - set -g __fish_git_prompt_showdirtystate true - set -g __fish_git_prompt_showuntrackedfiles true - set -g __fish_git_prompt_showstashstate true - set -g __fish_git_prompt_show_informative_status true - - # Line 1 - echo -n $cyan'┌['$white$USER$cyan'@'$white$__fish_prompt_hostname$cyan']'$white'-'$cyan'('$white(prompt_pwd)$cyan')' - __fish_git_prompt "-[git://%s]-" - echo - - # Line 2 - echo -n $cyan'└'$__fish_prompt_char $normal -end