From 05f3bbec857543a39a97913bcdc9f3ea64f41cec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Thu, 26 May 2011 00:34:01 +0300 Subject: [PATCH] strace: Don't append space for -e *= completions. --- completions/strace | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/completions/strace b/completions/strace index e7296ca7..0ce473f9 100644 --- a/completions/strace +++ b/completions/strace @@ -5,7 +5,7 @@ have strace || return _strace() { local cur prev words cword - _init_completion || return + _init_completion -n = || return # check if we're still completing strace local offset=0 i @@ -58,6 +58,7 @@ _strace() ;; esac else + compopt -o nospace COMPREPLY=( $( compgen -S"=" -W 'trace abbrev verbose raw signal read write' -- "$cur" ) ) fi