install: show stow warnings in red

This commit is contained in:
Fernando Schauenburg 2022-02-07 20:21:32 +01:00
parent 56865870ec
commit 060a9e33be

View file

@ -91,7 +91,10 @@ link_config() {
stow_home() {
heading 'stow home directory'
stow -v${IS_DRY_RUN:+n} --no-folding -d "$DOTFILES" -t "$TARGET" home 2>&1 \
| sed -E -e "s/^([^:]+:)/$yellow\1$rst/" -e "s/=>/$blue=>$rst/"
| sed -E \
-e "s/^(WARNING:)/$red\1$rst/" \
-e "s/^([^:]+:)/$yellow\1$rst/" \
-e "s/=>/$blue=>$rst/"
}
git_user_config() {