--tmux: Export bash functions
CodeQL / Analyze (go) (push) Has been cancelled
Test fzf on Linux / build (push) Has been cancelled
Test fzf on macOS / build (push) Has been cancelled

Fix #4001
This commit is contained in:
Junegunn Choi committed 2024-09-29 19:33:42 +09:00
1 parent 53bcdc4294
commit 4161403a1d
5 files changed
+50 -23

No files matched your search

+4 -1
View File
@@ -9,7 +9,10 @@ import (
"golang.org/x/sys/unix"
)
func sh() (string, error) {
func sh(bash bool) (string, error) {
if bash {
return "bash", nil
}
return "sh", nil
}