mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-10-20 20:22:10 +00: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:
parent
ddb121b418
commit
81b032a161
3 changed files with 1 additions and 12 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue