From 60df30cb39faa444f56b36341a4f878504138480 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Thu, 6 Jun 2024 10:53:19 +0200 Subject: [PATCH] fix --- cd/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cd/__init__.py b/cd/__init__.py index 38a6672..43e7573 100644 --- a/cd/__init__.py +++ b/cd/__init__.py @@ -71,10 +71,10 @@ def browse(root: str): absolute_path = os.path.join(directory, file) relative_path = os.path.relpath(absolute_path, start=root) paths.append(relative_path) - open(path) + open(root) for path in sorted(paths): print(path) - shut(path) + shut(root) def install_commands(path):