From a9bf6fc5e2bd11cbf50230a04e090ef722d0c709 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Mon, 18 Feb 2019 10:45:41 +0100 Subject: [fish] use yay as AUR helper --- config/fish/functions/upgrade.fish | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'config/fish/functions/upgrade.fish') diff --git a/config/fish/functions/upgrade.fish b/config/fish/functions/upgrade.fish index aace60b..d017ff2 100644 --- a/config/fish/functions/upgrade.fish +++ b/config/fish/functions/upgrade.fish @@ -25,7 +25,9 @@ function upgrade -d "universal upgrade function" # Arch if is_command pacman - if is_command pacaur + if is_command yay + yay -Syu + else if is_command pacaur pacaur -Syu else if is_command yaourt yaourt -Syua -- cgit v1.2.3