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:
parent
72e7d4eea6
commit
fedbc3dcfc
2 changed files with 6 additions and 2 deletions
2
bashrc
2
bashrc
|
@ -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
|
||||
# }}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue