1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-14 09:50:08 +00:00
Commit graph

2 commits

Author SHA1 Message Date
Andrew Grangaard
894e1caa0a virtualenv cleanup: replaces subshell with prompt expansion.
* :t parameter expansion returns the last portion of the path,
  equivalent to basename. I <3 zsh.
* adds comments for the VIRTUAL_ENV_DISABLE_PROMPT,
  used by virtual_env activate

See also:
  http://zsh.sourceforge.net/Doc/Release/Expansion.html#Parameter-Expansion
2013-06-08 11:36:33 -07:00
Justin Caratzas
0b2da8f11b Add very basic virtualenv plugin
checks for $VIRTUAL_ENV and provides to basename in a function for the prompt.
2012-07-11 23:40:12 -04:00