From af39a5ab1a4f0b154ac212fdeb86bad322b32056 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Wed, 28 Jan 2009 09:31:53 +0000 Subject: 26463: Greg Klanderman: add zle-line-finish widget 26464: Greg Klanderman: fix insert-ids=single for menu completion 26465: Greg Klanderman: command keymap for execution --- Completion/Unix/Type/_pids | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Completion/Unix/Type/_pids') diff --git a/Completion/Unix/Type/_pids b/Completion/Unix/Type/_pids index 18ed4616e..ea5ed79ee 100644 --- a/Completion/Unix/Type/_pids +++ b/Completion/Unix/Type/_pids @@ -45,7 +45,8 @@ if [[ -n "$all" ]]; then case "$out" in menu) compstate[insert]=menu ;; - single) [[ $compstate[nmatches] -ne nm+1 ]] && compstate[insert]= ;; + single) [[ $compstate[nmatches] -ne nm+1 && $compstate[insert] != menu ]] && + compstate[insert]= ;; *) [[ ${#:-$PREFIX$SUFFIX} -gt ${#compstate[unambiguous]} ]] && compstate[insert]=menu ;; esac -- cgit 1.4.1