diff options
Diffstat (limited to 'Completion')
-rw-r--r-- | Completion/Unix/Command/_twisted | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_twisted b/Completion/Unix/Command/_twisted index 09f7edcbc..b3b242729 100644 --- a/Completion/Unix/Command/_twisted +++ b/Completion/Unix/Command/_twisted @@ -37,9 +37,9 @@ function load_twisted_completions() { python_code=' import twisted, os.path dir = os.path.dirname(twisted.__file__) -print dir + os.sep + os.path.join("python", "zsh") +print os.path.join(dir, "python", "zsh") ' - dir=$($PYTHON -c "$python_code") + dir=$(${=PYTHON} -c "$python_code") #debug "Trying to load twisted functions from $dir:q" if [[ -r $dir/_twistd ]]; then old_fpath=($fpath) |