From 2dbba6992ad95428ed09d1dbb223b2fdcd8ca64c Mon Sep 17 00:00:00 2001 From: candifloss Date: Mon, 19 Aug 2024 09:54:23 +0530 Subject: [PATCH] minor fix --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index a40fc9e..e165629 100644 --- a/src/main.rs +++ b/src/main.rs @@ -4,9 +4,9 @@ use std::process::Command; fn get_shell_char (shell: String) -> String { let shell_char = match shell.as_str() { - "bash"|"/bin/bash" + "bash" | "/bin/bash" | "/usr/bin/bash" => " ", - "zsh"|"/bin/zsh"|"/usr/bin/zsh"|"-zsh" + "zsh" | "/bin/zsh" | "/usr/bin/zsh" | "-zsh" => "󰰶 ", "fish" => "󰈺 ",