Auto Update

This commit is contained in:
matt1432 2023-05-05 01:49:05 -04:00
parent c4efc7bfa8
commit 62e77f9920

View file

@ -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