mirror of
https://github.com/prurigro/darkcloud-nvimconfig.git
synced 2024-12-22 16:00:24 -05:00
Combine grep arguments
This commit is contained in:
parent
5e19a7b4fc
commit
1daba09c60
1 changed files with 1 additions and 1 deletions
2
update
2
update
|
@ -216,7 +216,7 @@ fi
|
|||
[[ -f "$plugin/.git" ]] && {
|
||||
plugin_dirname="${plugin/*\/}"
|
||||
|
||||
grep 'path = ' .gitmodules | grep -o -e '[^\/]*$' | grep -q -e "$plugin_dirname$" || {
|
||||
grep 'path = ' .gitmodules | grep -oe '[^\/]*$' | grep -qe "$plugin_dirname$" || {
|
||||
[[ -z "$first_found" ]] && {
|
||||
first_found=1
|
||||
printf '%s\n' "$cbg_blue $c_reset$cbg_yellow + Removing old plugins: $c_reset"
|
||||
|
|
Loading…
Reference in a new issue