diff --git a/config/xonsh/aliases.py b/config/xonsh/aliases.py index 9d6188b..22e0494 100644 --- a/config/xonsh/aliases.py +++ b/config/xonsh/aliases.py @@ -137,8 +137,7 @@ if script_path.exists(): if sub_dir.name == "nix": continue if not sub_dir.is_dir(): - c = colors.Colors - print(f"{c.YELLOW}{c.BOLD}WARNING: The path {c.PURPLE}'{sub_dir}'{c.YELLOW} is not a directory. Skipping alias creation for this path.{c.END}") + print(f"{colors.Colors.YELLOW}{colors.Colors.BOLD}WARNING: The path {colors.Colors.PURPLE}'{sub_dir}'{colors.Colors.YELLOW} is not a directory. Skipping alias creation for this path.{colors.Colors.END}") continue extension = f".{sub_dir.name}"