On Wed, Dec 12, 2018 at 05:36:26PM +0100, Valentin Bajrami wrote: > f3d0r4:~$ cd ../Nonexistingdir > bash: cd: ../Nonexistingdir: No such file or directory > ^C > ^C > cd Desktop/ > f3d0r4:~/Desktop$
What's in your PS1 and PROMPT_COMMAND variables? Have you set a DEBUG trap? Have you set an ERR trap?