summaryrefslogtreecommitdiffstats
path: root/hacking/env-setup.fish
diff options
context:
space:
mode:
authorJharrod LaFon <jlafon@eyesopen.com>2013-08-14 18:46:58 +0200
committerJharrod LaFon <jlafon@eyesopen.com>2013-08-14 18:46:58 +0200
commitd0fe447fd13e581fd059a4ff20e910752d58e5d8 (patch)
treee0f869368e358fa41b79187d19de24cc004d68af /hacking/env-setup.fish
parentAdded an env-setup file for Fish (diff)
downloadansible-d0fe447fd13e581fd059a4ff20e910752d58e5d8.tar.xz
ansible-d0fe447fd13e581fd059a4ff20e910752d58e5d8.zip
Fixed incorrectly set PYTHONPATH
Diffstat (limited to 'hacking/env-setup.fish')
-rw-r--r--hacking/env-setup.fish3
1 files changed, 3 insertions, 0 deletions
diff --git a/hacking/env-setup.fish b/hacking/env-setup.fish
index 811b76b7ce..05a5a8d671 100644
--- a/hacking/env-setup.fish
+++ b/hacking/env-setup.fish
@@ -14,6 +14,7 @@ if not set -q PYTHONPATH
else
switch PYTHONPATH
case "$PREFIX_PYTHONPATH*"
+ case "*"
echo "Appending PYTHONPATH"
set -gx PYTHONPATH $PREFIX_PYTHONPATH:$PYTHONPATH
end
@@ -32,7 +33,9 @@ if not contains $PREFIX_MANPATH $MANPATH
set -gx MANPATH $PREFIX_MANPATH $MANPATH
end
end
+
set -gx ANSIBLE_LIBRARY $ANSIBLE_HOME/library
+
if set -q argv
switch $argv
case '-q' '--quiet'