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, 2 insertions, 0 deletions
diff --git a/cmds/cd.go b/cmds/cd.go
index 66e5d5e..ec2e305 100644
--- a/cmds/cd.go
+++ b/cmds/cd.go
@@ -2,6 +2,8 @@ package cmds
import "os"
+// chDir: changes the current working directory
+// if no directory is specifed sets it to home
func chDir(args []string) error {
var dir string
if len(args) == 1 {