Auto Update

This commit is contained in:
matt1432 2023-05-07 19:36:35 -04:00
parent d36c4ba132
commit da90ed6916

View file

@ -36,7 +36,7 @@ alias yay='paru'
# check autocompletion # check autocompletion
wget -q https://raw.githubusercontent.com/Jguer/yay/next/completions/bash -O ~/out.tmp wget -q https://raw.githubusercontent.com/Jguer/yay/next/completions/bash -O ~/out.tmp
[ $(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" [[ $(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 rm ~/out.tmp
source /usr/share/bash-completion/completions/paru.bash source /usr/share/bash-completion/completions/paru.bash
fi fi