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.1608285875.txt.gz
  • Last modified: 2020/12/18 11:04
  • by scipio