summaryrefslogtreecommitdiff
path: root/helpfuncs.go
diff options
context:
space:
mode:
Diffstat (limited to 'helpfuncs.go')
-rw-r--r--helpfuncs.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/helpfuncs.go b/helpfuncs.go
index 33ab8ed..d8bbd78 100644
--- a/helpfuncs.go
+++ b/helpfuncs.go
@@ -474,6 +474,7 @@ func executeCommandAndDisplay(cmdText string) {
}
// Create the command execution
cmd := exec.Command(command, args...)
+ cmd.Dir = cfg.FilePickerDir
// Execute the command and get output
output, err := cmd.CombinedOutput()
// Add the command being executed to the chat