mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-06 09:15:57 +02:00
This is easily done at the command line. And its semantics are are to refer to cwd of active window.
18 lines
231 B
Go
18 lines
231 B
Go
// License: GPLv3 Copyright: 2023, Kovid Goyal, <kovid at kovidgoyal.net>
|
|
|
|
package at
|
|
|
|
import (
|
|
"fmt"
|
|
"os"
|
|
)
|
|
|
|
var _ = fmt.Print
|
|
|
|
func copy_local_env(copy_env bool) []string {
|
|
if copy_env {
|
|
return os.Environ()
|
|
}
|
|
return nil
|
|
}
|