summaryrefslogtreecommitdiff
path: root/cmds/cd.go
diff options
context:
space:
mode:
authorbpc2003 <wpesfriendnva@gmail.com>2025-05-24 14:25:58 -0400
committerbpc2003 <wpesfriendnva@gmail.com>2025-05-24 14:25:58 -0400
commit165c5c078b41ad2ea2edbd325948ed5aa0602e06 (patch)
treefc69e2cf5080b443091ecb5134cf0a47dfe78fe1 /cmds/cd.go
parent1a90e3410a9bdaf606a6124930a0913c07b44c87 (diff)
consolidate all environment variable commands into env.go
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 {