mirror of
https://github.com/oh-my-fish/oh-my-fish
synced 2024-11-09 13:10:40 +00: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
|