mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2024-12-02 14:03:51 +08:00
1480c2bfa5
Added support for having multiple sub-plugins within the archlinux family.
11 lines
311 B
Fish
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
|