- local exitstatus="${?}"
- PR_STUFF=" "
- if [[ 0 -ne "${exitstatus}" ]] ; then
- PR_STUFF="${PR_RED}RET ${exitstatus}${PR_NO_COLOUR}"
+ PR_EXIT="%{$fg_bold[red]%}%(?..[%?] )%{$reset_color%}"
+
+ # autofs always complains not being able to mount .hg/ and the like
+ if echo "$autofs_mp" | /bin/grep -qe "^$PWD\s"; then
+ vcs_info_msg_0_="[autofs]"
+ else
+ vcs_info