fix init script generation (#112)

This commit is contained in:
Cole Helbling 2020-10-20 11:03:38 -07:00 committed by GitHub
parent 20d62524bf
commit c0a1a78c29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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),
}?;