1
0
Fork 0

fix trap printing to stdout and support a new feature in vim 8 (as well as fix dependency for an older feature)

This commit is contained in:
Von Random 2016-09-30 14:39:57 +03:00
parent 72e7d4eea6
commit fedbc3dcfc
2 changed files with 6 additions and 2 deletions

2
bashrc
View file

@ -187,5 +187,5 @@ unset completion_path git_prompt_path
# }}}
# {{{ traps
# we want to see exit code on error (it also has to be the last entry here)
trap 'printf "${nred}>>${reset} ${bold}exit${reset} ${nred}%s${reset}\n" "$?"' ERR
trap 'printf "${nred}>>${reset} ${bold}exit${reset} ${nred}%s${reset}\n" "$?" >&2' ERR
# }}}