gendiff: Quoting suffix pattern to avoid triggering failglob

master
Damien Nadé 2014-06-04 23:17:07 +02:00 committed by Ville Skyttä
parent 70e52c8a1f
commit 154f388413
1 changed files with 1 additions and 1 deletions

View File

@ -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
} &&