shell name fix

This commit is contained in:
Candifloss 2024-08-19 10:15:13 +05:30
parent 2dbba6992a
commit 22774c4e13

View File

@ -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"
=> "󰰶 ",