mirror of
https://github.com/stevenproctor/dotfiles.git
synced 2026-01-28 07:19:55 -06:00
source .bash_local if exists, and use vi mode
This commit is contained in:
@@ -9,6 +9,10 @@ if [ -f $(brew --prefix)/etc/bash_completion ]; then
|
||||
. $(brew --prefix)/etc/bash_completion
|
||||
fi
|
||||
|
||||
if [ -f ~/.bash_local ]; then
|
||||
. ~/.bash_local
|
||||
fi
|
||||
|
||||
# came from Aaron Lasseigne (AaronLasseigne on GitHub)
|
||||
battery_status()
|
||||
{
|
||||
@@ -35,5 +39,5 @@ battery_status()
|
||||
fi
|
||||
}
|
||||
|
||||
export PROMPT_COMMAND='PS1="$(battery_status) \h:\W \u\$ "'
|
||||
export PROMPT_COMMAND='PS1="$(battery_status) [\d \t] \h:\W \u\$ "'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user