fix the c
(clear
) alias being shadowed by the color module
This commit is contained in:
parent
209294075c
commit
27f6d411b7
1 changed files with 1 additions and 2 deletions
|
@ -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}"
|
||||
|
|
Loading…
Reference in a new issue