mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-09-30 09:37:49 +00:00
Merge branch 'globinclude-sorted' of https://github.com/amarshall/kitty
This commit is contained in:
commit
fba629f385
1 changed files with 1 additions and 1 deletions
|
|
@ -185,7 +185,7 @@ def parse_line(
|
|||
val = os.path.expandvars(os.path.expanduser(val.strip()))
|
||||
if key == 'globinclude':
|
||||
from pathlib import Path
|
||||
vals = tuple(map(lambda x: str(os.fspath(x)), Path(base_path_for_includes).glob(val)))
|
||||
vals = tuple(map(lambda x: str(os.fspath(x)), sorted(Path(base_path_for_includes).glob(val))))
|
||||
elif key == 'envinclude':
|
||||
from fnmatch import fnmatchcase
|
||||
for x in os.environ:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue