You didn't append this to your path, you just overwrote the whole value. You'll need to use full paths to commands to edit the file and fix it like export PATH="$PATH:/the/new/path/to/add"
export PATH="$PATH:/the/new/path/to/add"
You didn't append this to your path, you just overwrote the whole value. You'll need to use full paths to commands to edit the file and fix it like
export PATH="$PATH:/the/new/path/to/add"