Delete obsolete function, fix newline in pacmanupdate, remove obsolete
comments
This commit is contained in:
parent
39985da036
commit
4d1b2abfc8
1 changed files with 7 additions and 28 deletions
35
aliasrc
35
aliasrc
|
@ -1,7 +1,3 @@
|
||||||
##pacman-update country
|
|
||||||
update=CZ
|
|
||||||
|
|
||||||
#
|
|
||||||
# # ex - archive extractor
|
# # ex - archive extractor
|
||||||
# # usage: ex <file>
|
# # usage: ex <file>
|
||||||
ex ()
|
ex ()
|
||||||
|
@ -29,15 +25,14 @@ ex ()
|
||||||
|
|
||||||
pacmanupdate ()
|
pacmanupdate ()
|
||||||
{
|
{
|
||||||
echo "Enter your country (like 'US' or 'CZ')";
|
echo -n "Enter the country code for the mirrorlist you want to use (default: CZ): "
|
||||||
read update;
|
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;
|
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 ls='ls --color'
|
||||||
alias ll='ls -l'
|
alias ll='ls -l'
|
||||||
# ls, the common ones I use a lot shortened for rapid fire usage
|
# ls, the common ones I use a lot shortened for rapid fire usage
|
||||||
|
@ -88,24 +83,8 @@ alias mv='mv -i'
|
||||||
|
|
||||||
alias wallpaper=/home/$USER/.local/bin/wallpaper
|
alias wallpaper=/home/$USER/.local/bin/wallpaper
|
||||||
|
|
||||||
#alias vim='vim'
|
# alias update-grub='sudo grub-mkconfig -o /boot/grub/grub.cfg'
|
||||||
#alias vi='vim'
|
# alias firefox='GTK_USE_PORTAL=1 firefox'
|
||||||
#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"
|
alias cls="clear"
|
||||||
|
|
||||||
alias sshc='ssh-connect'
|
alias sshc='ssh-connect'
|
||||||
|
|
Reference in a new issue