summaryrefslogtreecommitdiff
path: root/install/zsh.go
diff options
context:
space:
mode:
authorEyal Posener <[email protected]>2019-11-23 12:14:56 +0200
committerEyal Posener <[email protected]>2019-11-23 12:14:56 +0200
commitddaf561db38590cb729e3ee296fa18bbd7f798e6 (patch)
tree87716e0bc205789c1c99a9f48b6521be28ed3868 /install/zsh.go
parent027a352502b0d034b538296206bdebe7b084ce44 (diff)
Install: use script library
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 {