define PROMPT_COMMAND centrally

This commit is contained in:
Loic Nageleisen 2012-08-14 16:48:19 +02:00
parent cb15500454
commit 27ca2ca7e2
3 changed files with 2 additions and 2 deletions

View file

@ -23,6 +23,5 @@ set_term_title() {
esac
printf "$title"
}
PROMPT_COMMAND="set_term_title; $PROMPT_COMMAND"
# vim: ft=sh