From 22774c4e139a630424a4e8be2c481ad90b79bfb3 Mon Sep 17 00:00:00 2001 From: candifloss Date: Mon, 19 Aug 2024 10:15:13 +0530 Subject: [PATCH] shell name fix --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index e165629..431c99d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -4,7 +4,7 @@ use std::process::Command; fn get_shell_char (shell: String) -> String { let shell_char = match shell.as_str() { - "bash" | "/bin/bash" | "/usr/bin/bash" + "bash" | "/bin/bash" | "/usr/bin/bash" | "-bash" => " ", "zsh" | "/bin/zsh" | "/usr/bin/zsh" | "-zsh" => "󰰶 ",