Em seu prompt (procure por PS1 no seu .bashrc ), use $PWD em vez de \w .
Por exemplo, seu .bashrc conteria:
if [ "$color_prompt" = yes ]; then
PS1='${debian_chroot:+($debian_chroot)}\[3[01;32m\]\u@\h\[3[00m\]:\[3[01;34m\]\w\[3[00m\]$ '
else
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w$ '
fi
Em ambos os casos, altere o segundo \w para $PWD :
if [ "$color_prompt" = yes ]; then
PS1='${debian_chroot:+($debian_chroot)}\[3[01;32m\]\u@\h\[3[00m\]:\[3[01;34m\]$PWD\[3[00m\]$ '
else
PS1='${debian_chroot:+($debian_chroot)}\u@\h:$PWD$ '
fi
De acordo com man bash , \w é o caminho abreviado:
\w the current working directory, with $HOME abbreviated with a tilde (uses the value of the PROMPT_DIRTRI'M variable)