Auto Update
This commit is contained in:
parent
c4efc7bfa8
commit
62e77f9920
1 changed files with 3 additions and 0 deletions
|
@ -30,6 +30,8 @@ alias cp='cp -r'
|
|||
alias sudo='sudo '
|
||||
alias frick='sudo $(fc -ln -1)'
|
||||
alias grubup='grub-mkconfig -o /boot/grub/grub.cfg ; sudo sed -i 's/echo/#ech~o/g' /boot/grub/grub.cfg'
|
||||
|
||||
if [ -x "$(command -v paru)" ]; then
|
||||
alias yay='paru'
|
||||
|
||||
# check autocompletion
|
||||
|
@ -37,3 +39,4 @@ wget -q https://raw.githubusercontent.com/Jguer/yay/next/completions/bash -O ~/o
|
|||
[ $(diff -q ~/out.tmp /usr/share/bash-completion/completions/paru.bash) ] && echo "Bash completion for yay is wrong. Run this : sudo wget https://raw.githubusercontent.com/Jguer/yay/next/completions/bash -O /usr/share/bash-completion/completions/paru.bash"
|
||||
rm ~/out.tmp
|
||||
source /usr/share/bash-completion/completions/paru.bash
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue