mirror of
https://github.com/prurigro/darkcloud-nvimconfig.git
synced 2024-11-22 03:34:10 -05:00
Fix the output for removed plugins
This commit is contained in:
parent
aee57956b0
commit
ce0140c3fb
1 changed files with 1 additions and 1 deletions
2
update
2
update
|
@ -198,7 +198,7 @@ fi
|
||||||
}
|
}
|
||||||
process_status="$(rm -rf "${plugin:?}")"
|
process_status="$(rm -rf "${plugin:?}")"
|
||||||
if (( ! $? )); then
|
if (( ! $? )); then
|
||||||
printf '%s\n' "$cbg_blue $c_reset$cbg_yellow = $c_reset$(printf '%s\n' "$plugin " | sed -re 's|^(.*)/([^/]*)$|\\e\[1;37m\1/\\e\[1;31m\2\\e\[0m|')"
|
printf '%s\n' "$cbg_blue $c_reset$cbg_yellow = $cfg_white_bold$plugin$c_reset"
|
||||||
else
|
else
|
||||||
error "rm -rf $plugin" "Folder couldn't be deleted" "$process_status"
|
error "rm -rf $plugin" "Folder couldn't be deleted" "$process_status"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in a new issue