From 385a1a6020c54006a58be3c0b96429d1f2592130 Mon Sep 17 00:00:00 2001 From: deicidus Date: Thu, 19 Jan 2023 12:38:20 -0800 Subject: [PATCH] fixed path-wizard maybe --- spells/path-wizard | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spells/path-wizard b/spells/path-wizard index 78d0042..b016032 100755 --- a/spells/path-wizard +++ b/spells/path-wizard @@ -55,7 +55,7 @@ else # If the directory is not in the PATH variable, check if the action is 'add' if [ "$action" = "add" ]; then # If the action is 'add', append the directory to the PATH variable in the '.bashrc' file - echo "export PATH=$PATH:$directory" >> "$HOME/.bashrc" + echo "export PATH=\$PATH:$directory" >> "$HOME/.bashrc" echo "The directory has been added to your PATH." else # If the action is 'remove' and the directory is not in the PATH variable, display an error message