tips:fish

This is an old revision of the document!


Fish

virtualenv

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.1607928689.txt.gz
  • Last modified: 2020/12/14 07:51
  • by scipio