Auto Update

This commit is contained in:
matt1432 2023-05-04 23:22:38 -04:00
parent 1aa2048938
commit f30c675312
2 changed files with 7 additions and 2 deletions

View file

@ -30,3 +30,10 @@ alias cp='cp -r'
alias sudo='sudo ' alias sudo='sudo '
alias frick='sudo $(fc -ln -1)' 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' alias grubup='grub-mkconfig -o /boot/grub/grub.cfg ; sudo sed -i 's/echo/#ech~o/g' /boot/grub/grub.cfg'
alias yay='paru'
# check autocompletion
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"
rm ~/out.tmp

View file

@ -22,5 +22,3 @@ GREEN="01;32m"
cat << EOF >> ../../.PS1 cat << EOF >> ../../.PS1
PS1='\[\033[$GREEN\]\u\[\033[01;38;5;${SERV_COLOR}m\]@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]$ ' PS1='\[\033[$GREEN\]\u\[\033[01;38;5;${SERV_COLOR}m\]@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]$ '
EOF EOF
# sudo wget https://raw.githubusercontent.com/Jguer/yay/next/completions/bash -O /usr/share/bash-completion/completions/paru.bash