2024-07-13 16:36:24 +00:00
|
|
|
#!/bin/env fish
|
|
|
|
begin
|
|
|
|
set -l dir (status dirname)
|
|
|
|
source "$dir/../../Common/Scripts/software.fish"
|
|
|
|
|
2024-07-28 21:45:30 +00:00
|
|
|
function runYay -d "Run yay with pre-configured defaults"
|
|
|
|
yay --needed --answerclean=None --answerdiff=None -Syu $argv
|
|
|
|
end
|
|
|
|
|
2024-07-14 07:48:23 +00:00
|
|
|
function yayinst -d "Install yay-package non-interactively"
|
2024-07-28 21:45:30 +00:00
|
|
|
runYay --noconfirm $argv
|
|
|
|
end
|
|
|
|
|
|
|
|
function runPacman -d "Run pacman with pre-configured defaults"
|
|
|
|
sudo pacman --needed -Syu $argv
|
2024-07-13 16:36:24 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
function pacinst -d "Install pacman-package non-interactively"
|
2024-07-28 21:45:30 +00:00
|
|
|
sudo runPacman --noconfirm $argv
|
2024-07-13 16:36:24 +00:00
|
|
|
end
|
|
|
|
end
|