Add stuff to aliasrc
This commit is contained in:
parent
f0b02fe1e7
commit
f646bdaf22
1 changed files with 20 additions and 3 deletions
23
aliasrc
23
aliasrc
|
@ -1,5 +1,5 @@
|
||||||
##pacman-update country
|
##pacman-update country
|
||||||
country=CS
|
update=CZ
|
||||||
|
|
||||||
#
|
#
|
||||||
# # ex - archive extractor
|
# # ex - archive extractor
|
||||||
|
@ -34,8 +34,8 @@ echo test;
|
||||||
|
|
||||||
pacmanupdate ()
|
pacmanupdate ()
|
||||||
{
|
{
|
||||||
echo "Enter your country (like 'US' or 'CZ')"
|
echo "Enter your country (like 'US' or 'CZ')";
|
||||||
read update
|
read update;
|
||||||
sudo reflector -c $update -f 12 -l 10 -n 12 --save /etc/pacman.d/mirrorlist;
|
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 mv='mv -i'
|
||||||
|
|
||||||
alias wallpaper=/home/jirka/.local/bin/wallpaper
|
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"
|
||||||
|
|
Reference in a new issue