diff --git a/.zshrc b/.zshrc index 7277db2..351cd83 100644 --- a/.zshrc +++ b/.zshrc @@ -80,11 +80,12 @@ man () { } venv() { - for d in venv/"$1" ve/"$1" ~/venv/"$1" + for d in venv/"$1" ve/"$1" ~/venv/"$1" "$1" do if [ -f "$d"/bin/activate ] then . "$d"/bin/activate + break fi done }