From df8aee73ca6679acb248b33b3b21c0a03ac2efb1 Mon Sep 17 00:00:00 2001 From: david Date: Sun, 17 Sep 2023 06:04:30 +0200 Subject: [PATCH] updated update function to include manjaro --- zsh-david.plugin.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zsh-david.plugin.zsh b/zsh-david.plugin.zsh index 7f20e23..ed73154 100644 --- a/zsh-david.plugin.zsh +++ b/zsh-david.plugin.zsh @@ -107,7 +107,7 @@ update() { fi else #if not Darwin then its probably Linux - systems="ubuntu arch raspbian antergos elementary" + systems="ubuntu arch raspbian antergos elementary manjaro" issue="$(cat /etc/issue)" for item in $systems; do echo $issue | grep -i $item >> /dev/null @@ -125,7 +125,7 @@ update() { log error "Something went wrong while running ${bold}apt${normal}." fi ;; - arch|antergos) + arch|antergos|manjaro) log info "Arch Linux detected. Using ${bold}pacman${normal} to update packages." sudo pacman -Syu --noconfirm if [ $? -eq 0 ]; then