mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-02-01 11:34:59 +01: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
|
|
}
|