diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2007-11-19 11:52:20 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2007-11-19 11:52:20 +0000 |
commit | f596decec4341aef09d8b3601c9a9c6c5fa55ec7 (patch) | |
tree | fe97e33009988597f1b9c57b5078b3c04ea48830 /Completion/Unix/Command | |
parent | 5069567a74071d21fda11bbd3f2843f46b375bb7 (diff) | |
download | zsh-f596decec4341aef09d8b3601c9a9c6c5fa55ec7.tar.gz zsh-f596decec4341aef09d8b3601c9a9c6c5fa55ec7.tar.xz zsh-f596decec4341aef09d8b3601c9a9c6c5fa55ec7.zip |
From Eric Mangold: update _twisted completion
Diffstat (limited to 'Completion/Unix/Command')
-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) |