This commit is contained in:
Kovid Goyal
2018-02-09 16:43:50 +05:30
parent 3068846d8f
commit 973bbf3f8a
3 changed files with 3 additions and 3 deletions

View File

@@ -118,7 +118,7 @@ def main():
if os.access(os.path.join(candidate, 'kitty'), os.X_OK):
break
else:
rpath = os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), 'launcher')
rpath = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'launcher')
if rpath and rpath not in items:
os.environ['PATH'] += os.pathsep + rpath