diff options
author | Tom Willemsen | 2013-02-06 13:09:05 +0100 |
---|---|---|
committer | Tom Willemsen | 2013-02-06 13:09:11 +0100 |
commit | 6081884b9f565b6c5e251ecfa27f4362a9790d99 (patch) | |
tree | 166af269e18e74918da1660b5634542c26bfc543 /.zsh/functions/venv | |
parent | c3aa5bb8b4b3e900037ac31a0c8006147ea68f10 (diff) | |
download | dotfiles-6081884b9f565b6c5e251ecfa27f4362a9790d99.tar.gz dotfiles-6081884b9f565b6c5e251ecfa27f4362a9790d99.zip |
zsh: Make venv_activate a local variable
Diffstat (limited to '.zsh/functions/venv')
-rw-r--r-- | .zsh/functions/venv | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.zsh/functions/venv b/.zsh/functions/venv index 49564ac..03ec83d 100644 --- a/.zsh/functions/venv +++ b/.zsh/functions/venv @@ -1,6 +1,6 @@ # -*- mode: sh; -*- if [ "${#}" -eq 1 ]; then - venv_activate="$HOME/.virtualenv/$1/bin/activate" + local venv_activate="$HOME/.virtualenv/$1/bin/activate" if [ -r "$venv_activate" ]; then source $venv_activate |