gendiff: Quoting suffix pattern to avoid triggering failglob
parent
70e52c8a1f
commit
154f388413
|
@ -3,7 +3,7 @@
|
|||
_gendiff()
|
||||
{
|
||||
local cur prev words cword
|
||||
_init_completion -o @(diff|patch) || return
|
||||
_init_completion -o '@(diff|patch)' || return
|
||||
|
||||
[[ $cword -eq 1 ]] && _filedir -d
|
||||
} &&
|
||||
|
|
Loading…
Reference in New Issue