Browse Source

fixed path-wizard maybe

main
deicidus 2 years ago
parent
commit
385a1a6020
  1. 2
      spells/path-wizard

2
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

Loading…
Cancel
Save