diff options
Diffstat (limited to 'src/tty.rs')
-rw-r--r-- | src/tty.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -183,9 +183,9 @@ pub fn new<T: ToWinsize>(config: &Config, options: &Options, size: T, window_id: let default_shell = &Shell::new(pw.shell); let shell = config.shell() - .unwrap_or(&default_shell); + .unwrap_or(default_shell); - let initial_command = options.command().unwrap_or(&shell); + let initial_command = options.command().unwrap_or(shell); let mut builder = Command::new(initial_command.program()); for arg in initial_command.args() { |