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