From a54b40978533a3e397c09dcd5229de1a08ad43e7 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 14 Sep 2026 14:23:45 +0530 Subject: [PATCH] Fix #10467 --- kitty/shaders/slang.py | 1 + 1 file changed, 1 insertion(+) diff --git a/kitty/shaders/slang.py b/kitty/shaders/slang.py index a3c847cc5..b0a97017a 100644 --- a/kitty/shaders/slang.py +++ b/kitty/shaders/slang.py @@ -1070,6 +1070,7 @@ def custom_shader(name: str = '', pipeline_dir: str = '') -> tuple[str, str, byt @lru_cache(maxsize=64) def pipeline_definition(name: str) -> tuple[tuple[str, ...], str]: + name = os.path.expanduser(name) if os.path.isabs(name): pipeline_path = name if name.endswith('.pipeline') else name + '.pipeline' with open(pipeline_path, 'rb') as f: