Skip to content

Instantly share code, notes, and snippets.

@mindvox
Last active January 19, 2017 21:19
Show Gist options
  • Save mindvox/f08e49a50d284e9f67032de0e2e6d43d to your computer and use it in GitHub Desktop.
Save mindvox/f08e49a50d284e9f67032de0e2e6d43d to your computer and use it in GitHub Desktop.
Fish Shell Configuration
##
# Fish Configuration
#
# Coloured with the Base16 palette
# Zsh 'robbyrussell' style
#
# https://gist.github.com/karlbateman/f08e49a50d284e9f67032de0e2e6d43d
#
set -g -x PATH /usr/local/bin $PATH
set -g -x LC_ALL en_GB.UTF-8
set -g -x LANG en_GB.UTF-8
set -g -x LANGUAGE en_GB.UTF-8
set -g -x fish_greeting ''
set fish_color_normal normal
set fish_color_command dc9656
set fish_color_quote a1b56c
set fish_color_redirection ba8baf
set fish_color_end 585858
set fish_color_error ab4642
set fish_color_param FFFFFF
set fish_color_comment 383838
set fish_color_match a16946
set fish_color_search_match a16946
set fish_color_operator 86c1b9
set fish_color_escape 7cafc2
set fish_color_cwd e8e8e8
set __fish_git_prompt_show_informative_status 'yes'
set __fish_git_prompt_showdirtystate 'yes'
set __fish_git_prompt_showstashstate 'yes'
set __fish_git_prompt_showuntrackedfiles 'yes'
set __fish_git_prompt_showupstream 'yes'
set __fish_git_prompt_char_upstream_equal '='
set __fish_git_prompt_char_upstream_prefix ' '
set __fish_git_prompt_char_upstream_ahead '>'
set __fish_git_prompt_char_upstream_behind '<'
set __fish_git_prompt_char_stateseparator ':'
set __fish_git_prompt_char_dirtystate '+'
set __fish_git_prompt_char_invalidstate 'x'
set __fish_git_prompt_char_stagedstate 'o'
set __fish_git_prompt_char_untrackedfiles '.'
set __fish_git_prompt_char_cleanstate '~'
set __fish_git_prompt_color_prefix e8e8e8
set __fish_git_prompt_color_suffix e8e8e8
set __fish_git_prompt_color_bare 383838
set __fish_git_prompt_color_merging f7ca88
set __fish_git_prompt_color_branch ba8baf
set __fish_git_prompt_color_flags 86c1b9
set __fish_git_prompt_color_upstream_ahead ab4642
set __fish_git_prompt_color_upstream_behind dc9656
function fish_prompt
set last_status $status
set_color a1b56c
echo -n '➜ '
set_color 989898
echo -n (basename $PWD)
set_color normal
echo -n (__fish_git_prompt)
echo -n ' '
set_color normal
end
## add base16 colours + nvm, rvm etc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment