1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-18 13:01:05 +02:00

From Eric Mangold: update _twisted completion

This commit is contained in:
Peter Stephenson 2007-11-19 11:52:20 +00:00
parent 5069567a74
commit f596decec4
2 changed files with 7 additions and 2 deletions

View file

@ -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

View file

@ -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)