@Ute To be honest: I don’t know what the three dots in cd ...
are supposed to mean. As far as I know, this is not a standard short notation like the single and double dots. Also, my bash (GNU bash, version 5.0.17(1)-release (x86_64-pc-linux-gnu)
) doesn’t know such a thing. In order to have that work, the three dots must be defined somewhere, probably again in your .bash_aliases
or .bashrc
files but possibly after the problematic line.
That would explain why it works in a terminal (whatever it might mean).