Changing the prompt style of a virtualenv instance with zsh

前端 未结 2 1843
情歌与酒
情歌与酒 2021-01-04 13:14

I would like the change my zsh prompt style for every virtualenv instances that I use or create. My actual prompt is like this:

declare PS1=\"%{$fg[magenta]%         


        
相关标签:
2条回答
  • 2021-01-04 13:49

    And you can use virtualenvwrapper plugin in the ~/.zshrc,Don't use virtualenv plugin together with virtualenvwrapper.

    0 讨论(0)
  • 2021-01-04 14:01

    If you use virtualenvwrapper you can use its hooks to do this.

    0 讨论(0)
提交回复
热议问题