Delete obsolete function, fix newline in pacmanupdate, remove obsolete

comments
This commit is contained in:
Jiří Štefka 2023-02-27 07:06:05 +01:00
parent 39985da036
commit 4d1b2abfc8

33
aliasrc
View file

@ -1,7 +1,3 @@
##pacman-update country
update=CZ
#
# # ex - archive extractor
# # usage: ex <file>
ex ()
@ -29,15 +25,14 @@ ex ()
pacmanupdate ()
{
echo "Enter your country (like 'US' or 'CZ')";
read update;
echo -n "Enter the country code for the mirrorlist you want to use (default: CZ): "
read -t 10 update;
if [ -z "$update" ]; then
update=CZ;
fi
sudo reflector -c $update -f 12 -l 10 -n 12 --save /etc/pacman.d/mirrorlist;
}
export EDITOR=nano
alias pacman-update='sudo reflector -c $country -f 12 -l 10 -n 12 --save /etc/pacman.d/mirrorlist'
alias ls='ls --color'
alias ll='ls -l'
# ls, the common ones I use a lot shortened for rapid fire usage
@ -88,23 +83,7 @@ alias mv='mv -i'
alias wallpaper=/home/$USER/.local/bin/wallpaper
#alias vim='vim'
#alias vi='vim'
#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 update-grub='sudo grub-mkconfig -o /boot/grub/grub.cfg'
# alias firefox='GTK_USE_PORTAL=1 firefox'
alias cls="clear"