updated to have prompt refreshed on each new prompt

This commit is contained in:
2012-10-01 17:09:27 -05:00
parent 11d6470e19
commit ec10088321
2 changed files with 29 additions and 1 deletions

View File

@@ -31,5 +31,5 @@ battery_status()
fi
}
PS1="$(battery_status) \h:\W \u\$ "
export PROMPT_COMMAND='PS1="$(battery_status) \h:\W \u\$ "'