From f596decec4341aef09d8b3601c9a9c6c5fa55ec7 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Mon, 19 Nov 2007 11:52:20 +0000 Subject: From Eric Mangold: update _twisted completion --- Completion/Unix/Command/_twisted | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Completion/Unix') 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) -- cgit 1.4.1