mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2024-12-05 00:03:44 +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
|