chore: Added zypper alias in fish and gitconfig fix
This commit is contained in:
parent
72e55a7a7d
commit
c8b4821f0b
3 changed files with 35 additions and 3 deletions
32
.config/fish/myfunctions/packages.fish
Normal file
32
.config/fish/myfunctions/packages.fish
Normal file
|
@ -0,0 +1,32 @@
|
|||
function i
|
||||
sudo pacman -S $argv
|
||||
end
|
||||
|
||||
function zi
|
||||
sudo zypper install $argv
|
||||
end
|
||||
|
||||
function s
|
||||
sudo pacman -Ss $argv
|
||||
end
|
||||
|
||||
function zs
|
||||
sudo zypper search $argv
|
||||
end
|
||||
|
||||
function u
|
||||
sudo pacman -Syu
|
||||
end
|
||||
|
||||
function zu
|
||||
sudo zypper refresh && sudo zypper update
|
||||
end
|
||||
|
||||
function r
|
||||
sudo pacman -Rns $argv
|
||||
end
|
||||
|
||||
function zr
|
||||
sudo zypper remove $argv
|
||||
end
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue