From ea08ba3cea5fe6d979d984a556b902003d0afe04 Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Mon, 26 Mar 2001 08:27:03 +0000 Subject: _pids shouldn't start menu completion if the current word starts with a hyphen; typo fix in compsys.yo (13763) --- 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 392689848..ad15031b6 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