tips:fish

This is an old revision of the document!


Fish

run edit mode

funced fish_prompt --editor vim

add before end of function

if set -q VIRTUAL_ENV
     echo -n -s (set_color -b blue white) "(" (basename "$VIRTUAL_ENV") ")" (set_color normal) " "
end
  • tips/fish.1619889140.txt.gz
  • Last modified: 2021/05/01 19:12
  • by scipio