From c0a1a78c290dbf04c8c6dc7cda705d4c7cf305df Mon Sep 17 00:00:00 2001 From: Cole Helbling Date: Tue, 20 Oct 2020 11:03:38 -0700 Subject: [PATCH] fix init script generation (#112) --- src/main.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.rs b/src/main.rs index d0adf7f..9852b0f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -163,9 +163,9 @@ pub fn main() -> Result<()> { match shell { Shell::Bash => zs::Bash(opts).generate(handle), - Shell::Fish => zs::Bash(opts).generate(handle), - Shell::Posix => zs::Bash(opts).generate(handle), - Shell::Powershell => zs::Bash(opts).generate(handle), + Shell::Fish => zs::Fish(opts).generate(handle), + Shell::Posix => zs::Posix(opts).generate(handle), + Shell::Powershell => zs::PowerShell(opts).generate(handle), Shell::Xonsh => zs::Xonsh(opts).generate(handle), Shell::Zsh => zs::Zsh(opts).generate(handle), }?;