strace: Don't append space for -e *= completions.
This commit is contained in:
parent
8641a8c817
commit
05f3bbec85
@ -5,7 +5,7 @@ have strace || return
|
|||||||
_strace()
|
_strace()
|
||||||
{
|
{
|
||||||
local cur prev words cword
|
local cur prev words cword
|
||||||
_init_completion || return
|
_init_completion -n = || return
|
||||||
|
|
||||||
# check if we're still completing strace
|
# check if we're still completing strace
|
||||||
local offset=0 i
|
local offset=0 i
|
||||||
@ -58,6 +58,7 @@ _strace()
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
else
|
else
|
||||||
|
compopt -o nospace
|
||||||
COMPREPLY=( $( compgen -S"=" -W 'trace abbrev verbose raw
|
COMPREPLY=( $( compgen -S"=" -W 'trace abbrev verbose raw
|
||||||
signal read write' -- "$cur" ) )
|
signal read write' -- "$cur" ) )
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user