shell name fix
This commit is contained in:
parent
2dbba6992a
commit
22774c4e13
@ -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"
|
||||
=> " ",
|
||||
|
Loading…
Reference in New Issue
Block a user