From cb2de78cca4ee82af612fde80ae67470a8a5b1c0 Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Fri, 23 Mar 2001 15:18:46 +0000 Subject: don't auto-start menu completion after a `%' when completing pids or jobs (13733) --- Completion/Builtins/_pids | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion') diff --git a/Completion/Builtins/_pids b/Completion/Builtins/_pids index af6c72c0c..392689848 100644 --- a/Completion/Builtins/_pids +++ b/Completion/Builtins/_pids @@ -11,7 +11,7 @@ if [[ "$1" = -m ]]; then all=() match="*[[:blank:]]${PREFIX}[0-9]#${SUFFIX}[[:blank:]]*[/[:blank:]]${2}*" shift 2 -elif [[ "$PREFIX$SUFFIX" = [0-9]# ]]; then +elif [[ "$PREFIX$SUFFIX" = (%*|[0-9]#) ]]; then all=() match="*[[:blank:]]${PREFIX}[0-9]#${SUFFIX}[[:blank:]]*" else -- cgit 1.4.1