mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 22:28:24 +02:00
Handle envvars and ~ in session cwd directives
This commit is contained in:
@@ -18,7 +18,7 @@ class Child:
|
||||
|
||||
def __init__(self, argv, cwd, opts):
|
||||
self.argv = argv
|
||||
self.cwd = cwd
|
||||
self.cwd = os.path.abspath(os.path.expandvars(os.path.expanduser(cwd or os.getcwd())))
|
||||
self.opts = opts
|
||||
|
||||
def fork(self):
|
||||
|
||||
Reference in New Issue
Block a user