We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea0f526 commit c017813Copy full SHA for c017813
virtualenvwrapper.sh
@@ -196,7 +196,7 @@ virtualenvwrapper_show_workon_options () {
196
# NOTE: DO NOT use ls here because colorized versions spew control characters
197
# into the output list.
198
# echo seems a little faster than find, even with -depth 3.
199
- (cd "$WORKON_HOME"; for f in */bin/activate; do echo $f; done) 2>/dev/null | sed 's|^\./||' | sed 's|/bin/activate||' | sort
+ (cd "$WORKON_HOME"; for f in */bin/activate; do echo $f; done) 2>/dev/null | sed 's|^\./||' | sed 's|/bin/activate||' | sort | egrep -v '^\*$'
200
# (cd "$WORKON_HOME"; find -L . -depth 3 -path '*/bin/activate') | sed 's|^\./||' | sed 's|/bin/activate||' | sort
201
}
202
0 commit comments