From 62fd88bf34d51e2a634527c16243fc3b546e16a2 Mon Sep 17 00:00:00 2001 From: afonsofrancof Date: Tue, 2 May 2023 15:02:47 +0100 Subject: [PATCH] Added zypper alias in fish and gitconfig fix --- .config/fish/config.fish | 2 +- .config/fish/myfunctions/packages.fish | 32 ++++++++++++++++++++++++++ .gitconfig | 4 ++-- 3 files changed, 35 insertions(+), 3 deletions(-) create mode 100644 .config/fish/myfunctions/packages.fish diff --git a/.config/fish/config.fish b/.config/fish/config.fish index 59572ca..2b0a5f0 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -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 diff --git a/.config/fish/myfunctions/packages.fish b/.config/fish/myfunctions/packages.fish new file mode 100644 index 0000000..8809bac --- /dev/null +++ b/.config/fish/myfunctions/packages.fish @@ -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 + diff --git a/.gitconfig b/.gitconfig index e3670bd..1cf5bfd 100644 --- a/.gitconfig +++ b/.gitconfig @@ -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