fix the c (clear) alias being shadowed by the color module

This commit is contained in:
Seaswimmer 2024-12-02 15:52:08 -05:00
parent 209294075c
commit 27f6d411b7
Signed by: cswimr
GPG key ID: 0EC431A8DA8F8087

View file

@ -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}"