mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-18 14:34:52 +02:00
Dont expand cwd=current in rc launch
This is easily done at the command line. And its semantics are are to refer to cwd of active window.
This commit is contained in:
@@ -15,12 +15,3 @@ func copy_local_env(copy_env bool) []string {
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func copy_local_cwd(copy_cwd string) string {
|
||||
if copy_cwd == "current" {
|
||||
if c, e := os.Getwd(); e == nil {
|
||||
copy_cwd = c
|
||||
}
|
||||
}
|
||||
return copy_cwd
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user