Blob Blame History Raw
diff -up ./completion/_wstool.fedora ./completion/_wstool
--- ./completion/_wstool.fedora	2015-09-11 09:44:12.000000000 -0400
+++ ./completion/_wstool	2015-09-13 20:23:44.033390649 -0400
@@ -33,7 +33,7 @@
 
 _wstool () {
   local e
-  e=$(dirname ${funcsourcetrace[1]%:*})/wstool-completion.bash
+  e=/etc/bash_profile.d/wstool-completion.bash
   if [ -f $e ]; then
     . $e
   fi
diff -up ./setup.py.fedora ./setup.py
--- ./setup.py.fedora	2015-09-11 09:44:12.000000000 -0400
+++ ./setup.py	2015-09-13 20:28:59.620945591 -0400
@@ -47,8 +47,7 @@ def get_data_files(prefix):
     data_files.append((bash_comp_dest, ['completion/wstool-completion.bash']))
     zsh_comp_dest = os.path.join(_resolve_prefix(prefix, 'zsh_comp'),
                                  'share/zsh/site-functions')
-    data_files.append((zsh_comp_dest, ['completion/_wstool',
-                                       'completion/wstool-completion.bash']))
+    data_files.append((zsh_comp_dest, ['completion/_wstool']))
     return data_files