Skip to content

Instantly share code, notes, and snippets.

@ToniRib
Last active September 22, 2016 20:36
Show Gist options
  • Save ToniRib/ea1a098faadeface5d7320b3cef0e70f to your computer and use it in GitHub Desktop.
Save ToniRib/ea1a098faadeface5d7320b3cef0e70f to your computer and use it in GitHub Desktop.
function fish_prompt --description 'Write out the prompt'
set -l last_status $status
set_color 55f914
echo -n (basename $PWD)
set_color normal
echo -n ' '
__informative_git_prompt
if not test $last_status -eq 0
set_color $fish_color_error
end
echo ' '
set_color yellow
echo -n ' ➾ '
set_color normal
end
function fish_right_prompt -d "Right side fish prompt"
set_color ffbf00
echo -n (~/.rvm/bin/rvm-prompt)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment