oh-my-fish/plugins/archlinux/pacman/pacupd.fish
Steven Knight 1480c2bfa5 Ported pacman aliases from oh-my-zsh's archlinux plugin.
Added support for having multiple sub-plugins within the archlinux family.
2014-02-28 19:29:39 -05:00

11 lines
311 B
Fish

which abs ^ /dev/null > /dev/null
if test $status -ne 1
function pacupd -d "Update and refresh the local package and ABS databases against repositories"
sudo pacman -Sy; and sudo abs
end
else
function pacupd -d "Update and refresh the local package against repositories"
sudo pacman -Sy
end
end