diff --git a/cd/__init__.py b/cd/__init__.py index 83dac8f..e045397 100644 --- a/cd/__init__.py +++ b/cd/__init__.py @@ -15,14 +15,14 @@ def cd_browse_workspace(): {project.root} ↓ ''', end=str()) - files = [] + paths = [] for directory, directories, files in os.walk(project.root): for file in files: absolute_path = os.path.join(directory, file) relative_path = os.path.relpath(absolute_path, start=project.root) - files.append(relative_path) - for file in files: - print(file) + paths.append(relative_path) + for path in paths: + print(path) def cd_clone_branch():