summaryrefslogtreecommitdiff
path: root/cmds/cd.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmds/cd.go')
-rw-r--r--cmds/cd.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/cd.go b/cmds/cd.go
index ec2e305..3a5e9d0 100644
--- a/cmds/cd.go
+++ b/cmds/cd.go
@@ -4,7 +4,7 @@ import "os"
// chDir: changes the current working directory
// if no directory is specifed sets it to home
-func chDir(args []string) error {
+func ChDir(args []string) error {
var dir string
if len(args) == 1 {
dir, _ = os.UserHomeDir()