Minor updates to output formatting in setup.sh

This commit is contained in:
Eryn Wells 2012-08-08 10:16:12 -07:00
parent 70be386c85
commit ea34b63123

View file

@ -37,14 +37,16 @@ do
spaces='' spaces=''
for (( i=0; $i < $filler; i++ )); do spaces="$spaces "; done for (( i=0; $i < $filler; i++ )); do spaces="$spaces "; done
echo -n " $dest$spaces" echo -n " $dest"
if [[ $action = 'linked' ]]; then if [[ $action == 'linked' ]]; then
ln -fs "$dfdir/$dotfile" "$dest" ln -fs "$dfdir/$dotfile" "$dest"
action="%F{green}$action%f"
elif [[ $action == 'skipped' ]]; then
action="%F{yellow}$action%f" action="%F{yellow}$action%f"
else else
action="%F{green}$action%f" action="%F{red}red%f"
fi fi
print -P $action print -P "$spaces$action"
done done
echo "touch $HOME/.hushlogin" echo "touch $HOME/.hushlogin"