From 68ed6baba7774fb420618d28bf7a64681fc5ef63 Mon Sep 17 00:00:00 2001 From: Ezri Brimhall Date: Wed, 13 Mar 2024 23:34:45 -0600 Subject: [PATCH] Oops, that didnt work --- .config/zsh/prompt.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/zsh/prompt.zsh b/.config/zsh/prompt.zsh index 37cf266..64ef0c5 100644 --- a/.config/zsh/prompt.zsh +++ b/.config/zsh/prompt.zsh @@ -34,7 +34,7 @@ precmd_kernel_info() { if [[ ${OS_ID} == "arch" ]] || [[ ${OS_ID_LIKE} == "arch" ]]; then # Arch Linux removes the old kernel when updating, so we can # just check to see if /usr/lib/modules/$(uname -r)/vmlinuz exists - if [[ -f /usr/lib/modules/$(uname -r)/vmlinuz ]]; then + if ! [[ -f /usr/lib/modules/$(uname -r)/vmlinuz ]]; then # kernel update available kernel_info_msg_0_="%F{red} reboot required %f" fi