Added zypper alias in fish and gitconfig fix
This commit is contained in:
parent
ec2923b689
commit
62fd88bf34
3 changed files with 35 additions and 3 deletions
|
@ -15,6 +15,6 @@ fish_add_path $HOME/.ghcup/bin
|
|||
|
||||
source ~/.config/fish/myfunctions/code.fish
|
||||
source ~/.config/fish/myfunctions/dotfiles.fish
|
||||
source ~/.config/fish/myfunctions/pacman.fish
|
||||
source ~/.config/fish/myfunctions/packages.fish
|
||||
source ~/.config/fish/myfunctions/qol.fish
|
||||
source ~/.config/fish/myfunctions/replacements.fish
|
||||
|
|
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
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
[user]
|
||||
email = me@afonsofrancof.com
|
||||
name = afonsofrancof
|
||||
signingkey = D774F2EDAE844584699E6B01C459E0BB3DCEE899
|
||||
signingkey = ~/.ssh/id_ed25519_sk.pub
|
||||
[filter "lfs"]
|
||||
process = git-lfs filter-process
|
||||
required = true
|
||||
|
@ -12,6 +12,6 @@
|
|||
[commit]
|
||||
gpgsign = true
|
||||
[gpg]
|
||||
program = gpg2
|
||||
format = ssh
|
||||
[tag]
|
||||
gpgsign = true
|
||||
|
|
Loading…
Reference in a new issue