mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2025-01-07 19:16:26 +08:00
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
|