From f646bdaf2220475ca07419be54ac8ed6ed1a3293 Mon Sep 17 00:00:00 2001 From: jiriks74 Date: Sun, 14 Nov 2021 18:37:36 +0100 Subject: [PATCH] Add stuff to aliasrc --- aliasrc | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/aliasrc b/aliasrc index 8d3e883..6035ea4 100644 --- a/aliasrc +++ b/aliasrc @@ -1,5 +1,5 @@ ##pacman-update country -country=CS +update=CZ # # # ex - archive extractor @@ -34,8 +34,8 @@ echo test; pacmanupdate () { - echo "Enter your country (like 'US' or 'CZ')" - read update + echo "Enter your country (like 'US' or 'CZ')"; + read update; sudo reflector -c $update -f 12 -l 10 -n 12 --save /etc/pacman.d/mirrorlist; } @@ -92,3 +92,20 @@ alias cp='cp -i' alias mv='mv -i' alias wallpaper=/home/jirka/.local/bin/wallpaper + +gitpush() { + git add . + git commit -m "$*" + git pull + git push +} +gitupdate() { + eval "$(ssh-agent -s)" + ssh-add ~/.ssh/github + ssh -T git@github.com +} +alias gp=gitpush +alias gu=gitupdate +alias update-grub='sudo grub-mkconfig -o /boot/grub/grub.cfg' +#alias firefox='GTK_USE_PORTAL=1 firefox' +alias cls="clear"