summaryrefslogtreecommitdiff
path: root/install/zsh.go
diff options
context:
space:
mode:
Diffstat (limited to 'install/zsh.go')
-rw-r--r--install/zsh.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/install/zsh.go b/install/zsh.go
index 29950ab..cc00c88 100644
--- a/install/zsh.go
+++ b/install/zsh.go
@@ -27,7 +27,7 @@ func (z zsh) Install(cmd, bin string) error {
completeCmd = bashCompInit + "\n" + completeCmd
}
- return appendToFile(z.rc, completeCmd)
+ return appendFile(z.rc, completeCmd)
}
func (z zsh) Uninstall(cmd, bin string) error {