Skip to content

Commit b7380d8

Browse files
committed
When echoing the current list of paths, do not include the 'import' lines.
1 parent 556584f commit b7380d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

virtualenvwrapper_bashrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ function add2virtualenv () {
367367
then
368368
echo
369369
echo "Existing paths:"
370-
cat "$path_file"
370+
cat "$path_file" | grep -v "^import"
371371
fi
372372
return 1
373373
fi

0 commit comments

Comments
 (0)