diff --git a/stow/.zshrc b/stow/.zshrc index 6d46e0e..b893e40 100644 --- a/stow/.zshrc +++ b/stow/.zshrc @@ -5,21 +5,21 @@ # # set icon -if [ -e /System ]; then +if [ -f /etc/os-release ]; then + . /etc/os-release &> /dev/null +fi + +if [ "$ID" = "nixos" ]; then + OSICON="" +elif [ "$ID" = "debian" ]; then + OSICON="" +elif [ "$ID" = "arch" ]; then + OSICON="󰣇" +elif [ "$ID" = "fedora" ]; then + OSICON="" +elif [ -e /System ]; then OSICON="" eval "$(/opt/homebrew/bin/brew shellenv)" -elif [ -f /etc/os-release ]; then - . /etc/os-release &> /dev/null - - if [ "$ID" = "nixos" ]; then - OSICON="" - elif [ "$ID" = "debian" ]; then - OSICON="" - elif [ "$ID" = "fedora" ]; then - OSICON="󰣇" - elif [ "$ID" = "arch" ]; then - OSICON="" - fi else OSICON="$" fi