commit c567e2457e9375cc13e2dc5eac3a3d38aece7a14 parent da69f4dc17570bd58100e47de0e2500f9fd511a2 Author: Ashymad <czilukim@o2.pl> Date: Mon, 26 Feb 2018 23:52:49 +0100 Correct colour Diffstat:
| M | .config/fish/functions/aur-vcsync.fish | | | 11 | ++++++++--- |
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/.config/fish/functions/aur-vcsync.fish b/.config/fish/functions/aur-vcsync.fish @@ -1,15 +1,20 @@ function aur-vcsync set vcs_list git hg cvs svn bzr echo -n "" > /tmp/vcs.tmp - set_color -o - echo "==> Checking newest commit of repositories..." + set_color -o green + echo -n "==> " + set_color -o white + echo "Checking newest commit of repositories..." for vcs in $vcs_list set repos ~/.cache/aurutils/sync/*-$vcs for repo in $repos aur srcver $repo >> /tmp/vcs.tmp end end - echo "==> Comparing to locally installed versions..." + set_color -o green + echo -n "==> " + set_color -o white + echo "Comparing to locally installed versions..." set updates (aur vercmp -p /tmp/vcs.tmp -d custom-aur) for update in $updates echo Updating $update...