diff --git a/config/src/defaults.rs b/config/src/defaults.rs index 7e2728d0..2b6234d2 100644 --- a/config/src/defaults.rs +++ b/config/src/defaults.rs @@ -7,10 +7,10 @@ pub fn default_padding_x() -> f32 { } pub fn default_shell() -> crate::Shell { - #[cfg(target_os = "macos")] + #[cfg(not(target_os = "windows"))] { crate::Shell { - program: String::from("/bin/zsh"), + program: String::from(""), args: vec![String::from("--login")], } } @@ -22,14 +22,6 @@ pub fn default_shell() -> crate::Shell { args: vec![], } } - - #[cfg(not(any(target_os = "macos", target_os = "windows")))] - { - crate::Shell { - program: String::from(""), - args: vec![], - } - } } pub fn default_use_fork() -> bool { diff --git a/docs/docs/index.md b/docs/docs/index.md index 1264567d..6129e82c 100644 --- a/docs/docs/index.md +++ b/docs/docs/index.md @@ -67,7 +67,7 @@ window-opacity = 0.5 # Entries in `shell.args` are passed unmodified as arguments to the shell. # # Default: -# - (macOS) /bin/zsh --login +# - (macOS) user login shell # - (Linux/BSD) user login shell # - (Windows) powershell #