minor fix

This commit is contained in:
Candifloss 2024-08-19 09:54:23 +05:30
parent 6c641b2b70
commit 2dbba6992a

View File

@ -4,9 +4,9 @@ use std::process::Command;
fn get_shell_char (shell: String) -> String { fn get_shell_char (shell: String) -> String {
let shell_char = match shell.as_str() { 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" "fish"
=> "󰈺 ", => "󰈺 ",