summaryrefslogtreecommitdiffstats
path: root/zsh/.zsh/functions/venv
diff options
context:
space:
mode:
authorGravatar Tom Willemse2014-07-01 22:52:29 +0200
committerGravatar Tom Willemse2014-07-01 22:52:29 +0200
commitd494d318ceedcfc18c81440eb29bd681084ff65c (patch)
tree3b889379ed2115d9def65e21c82463e4f6b7f746 /zsh/.zsh/functions/venv
parentff1b2cb7624d6d65f3488c03918e3c18cccfd21d (diff)
downloaddotfiles-d494d318ceedcfc18c81440eb29bd681084ff65c.tar.gz
dotfiles-d494d318ceedcfc18c81440eb29bd681084ff65c.zip
Rename .zsh
Diffstat (limited to 'zsh/.zsh/functions/venv')
-rw-r--r--zsh/.zsh/functions/venv15
1 files changed, 0 insertions, 15 deletions
diff --git a/zsh/.zsh/functions/venv b/zsh/.zsh/functions/venv
deleted file mode 100644
index 03ec83d..0000000
--- a/zsh/.zsh/functions/venv
+++ /dev/null
@@ -1,15 +0,0 @@
-# -*- mode: sh; -*-
-if [ "${#}" -eq 1 ]; then
- local venv_activate="$HOME/.virtualenv/$1/bin/activate"
-
- if [ -r "$venv_activate" ]; then
- source $venv_activate
- else
- echo "$1 is not a know virtual environment"
- fi
-else
- echo "Virtual environments: "
- for itm in ~/.virtualenv/*; do
- echo " $(basename $itm)"
- done
-fi