fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
867946468
master
1# name: Simple Pythonista 2# author: davbo 3 4function fish_prompt 5if not set -q VIRTUAL_ENV_DISABLE_PROMPT 6set -g VIRTUAL_ENV_DISABLE_PROMPT true 7end 8set_color yellow 9printf '%s' $USER 10set_color --reset 11printf ' at ' 12 13set_color magenta 14echo -n( prompt_hostname ) 15set_color --reset 16printf ' in ' 17 18set_color $fish_color_cwd 19printf '%s' ( prompt_pwd ) 20set_color --reset 21 22# Line 2 23echo 24if test -n " $VIRTUAL_ENV " 25printf "(%s) " ( set_color blue)( path basename$VIRTUAL_ENV )( set_color --reset) 26end 27printf '↪ ' 28set_color --reset 29end