mirror of
https://github.com/prurigro/darkcloud-vimconfig.git
synced 2024-12-22 08:40:24 -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:?}")"
|
||||
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
|
||||
error "rm -rf $plugin" "Folder couldn't be deleted" "$process_status"
|
||||
exit 1
|
||||
|
|
Loading…
Reference in a new issue