diff --git a/bin/get_last_update.sh b/bin/get_last_update.sh index d5fe118..533f9f3 100755 --- a/bin/get_last_update.sh +++ b/bin/get_last_update.sh @@ -2,7 +2,7 @@ # Gets the time of the last archlinux update. declare -i last_time="$( - rg -B1 'pacman -S(u|[yu]{2})$' "${HOME}/.bash_eternal_history" \ + rg -B1 'pacman -S(u|yu|uy)$' "${HOME}/.bash_eternal_history" \ | tac \ | awk '$0 ~ /^#/ { print substr($0, 2); exit }' )"