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 | |
parent | 5069567a74071d21fda11bbd3f2843f46b375bb7 (diff) | |
download | zsh-f596decec4341aef09d8b3601c9a9c6c5fa55ec7.tar.gz zsh-f596decec4341aef09d8b3601c9a9c6c5fa55ec7.tar.xz zsh-f596decec4341aef09d8b3601c9a9c6c5fa55ec7.zip |
From Eric Mangold: update _twisted completion
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Completion/Unix/Command/_twisted | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index a521a3ca1..86b43f78b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-11-19 Peter Stephenson <pws@csr.com> + + * unposted: from Eric Mangold: Completion/Unix/Command/_twisted: + update. + 2007-11-18 Clint Adams <clint@zsh.org> * Nikolai Weibull: 24075: Completion/Unix/Command/_cp: fix 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) |