fix init script generation

A copy-paste error caused the Fish, POSIX, and Powershell shells to
generate an incorrect init script.
This commit is contained in:
Cole Helbling 2020-10-20 10:54:34 -07:00
parent 3d432105e0
commit bc05a958e2
No known key found for this signature in database
GPG Key ID: B37E0F2371016A4C
1 changed files with 3 additions and 3 deletions

View File

@ -163,9 +163,9 @@ pub fn main() -> Result<()> {
match shell { match shell {
Shell::Bash => zs::Bash(opts).generate(handle), Shell::Bash => zs::Bash(opts).generate(handle),
Shell::Fish => zs::Bash(opts).generate(handle), Shell::Fish => zs::Fish(opts).generate(handle),
Shell::Posix => zs::Bash(opts).generate(handle), Shell::Posix => zs::Posix(opts).generate(handle),
Shell::Powershell => zs::Bash(opts).generate(handle), Shell::Powershell => zs::PowerShell(opts).generate(handle),
Shell::Xonsh => zs::Xonsh(opts).generate(handle), Shell::Xonsh => zs::Xonsh(opts).generate(handle),
Shell::Zsh => zs::Zsh(opts).generate(handle), Shell::Zsh => zs::Zsh(opts).generate(handle),
}?; }?;