summaryrefslogtreecommitdiff
path: root/install/bash.go
diff options
context:
space:
mode:
Diffstat (limited to 'install/bash.go')
-rw-r--r--install/bash.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/install/bash.go b/install/bash.go
index 17c64de..3e85d28 100644
--- a/install/bash.go
+++ b/install/bash.go
@@ -20,7 +20,7 @@ func (b bash) Install(cmd, bin string) error {
return fmt.Errorf("already installed in %s", b.rc)
}
completeCmd := b.cmd(cmd, bin)
- return appendToFile(b.rc, completeCmd)
+ return appendFile(b.rc, completeCmd)
}
func (b bash) Uninstall(cmd, bin string) error {