summaryrefslogtreecommitdiff
path: root/helpfuncs.go
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2026-02-26 20:10:00 +0300
committerGrail Finder <wohilas@gmail.com>2026-02-26 20:10:00 +0300
commit09b5e0d08f58ff182f30b4d8c4b5a601ff14293d (patch)
tree80762a31bc47f1b247e4dead567769226f30a4a7 /helpfuncs.go
parent7d51c5d0f374d78ad46a3dfb0f9e121bedd386f0 (diff)
Enha: shell mode in filepickerdir
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