fix (plugin): use grep -E instead of egrep in fabric.completion.bash

pull/2168/head
Gurkirat Singh 2022-10-07 19:46:50 +05:30
parent 906e2da955
commit c1e5c336cf
No known key found for this signature in database
GPG Key ID: BD8D9949734FDB24
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ function __fab_completion() {
-*)
if [[ -z "${__FAB_COMPLETION_LONG_OPT}" ]]; then
export __FAB_COMPLETION_LONG_OPT=$(
fab --help | egrep -o "\-\-[A-Za-z_\-]+\=?" | sort -u)
fab --help | grep -E -o "\-\-[A-Za-z_\-]+\=?" | sort -u)
fi
opts="${__FAB_COMPLETION_LONG_OPT}"
;;