22 lines
591 B
Fish
Executable file
22 lines
591 B
Fish
Executable file
#!/bin/env fish
|
|
begin
|
|
set -l dir (status dirname)
|
|
source "$dir/../../Common/Scripts/software.fish"
|
|
|
|
function runYay -d "Run yay with pre-configured defaults"
|
|
yay --needed --answerclean=None --answerdiff=None -Syu $argv
|
|
end
|
|
|
|
function yayinst -d "Install yay-package non-interactively"
|
|
runYay --noconfirm $argv
|
|
end
|
|
|
|
function runPacman -d "Run pacman with pre-configured defaults"
|
|
sudo pacman --needed -Syu $argv
|
|
end
|
|
|
|
function pacinst -d "Install pacman-package non-interactively"
|
|
sudo runPacman --noconfirm $argv
|
|
end
|
|
end
|