We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 528dd77 commit 40ece06Copy full SHA for 40ece06
tmuxp/cli.py
@@ -511,7 +511,7 @@ def command_import_tmuxinator(args):
511
print(output)
512
513
if args.config:
514
- configfile = os.path.abspath(os.path.relpath(args.config))
+ configfile = os.path.abspath(os.path.relpath(os.path.expanduser(args.config)))
515
configparser = kaptan.Kaptan(handler='yaml')
516
517
if os.path.exists(configfile):
@@ -552,7 +552,7 @@ def command_import_tmuxinator(args):
552
553
dest = dest_prompt
554
555
- dest = os.path.abspath(os.path.relpath(dest))
+ dest = os.path.abspath(os.path.relpath(os.path.expanduser(dest)))
556
if prompt_yes_no('Write to %s?' % dest):
557
buf = open(dest, 'w')
558
buf.write(newconfig)
0 commit comments