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):