mirror of
https://github.com/stevenproctor/dotfiles.git
synced 2026-11-22 14:38:25 -06:00
source .bash_local if exists, and use vi mode
This commit is contained in:
1 parent
11e173ec8f
commit
64f3a0a5e2
2 files changed
+7
-1
No files matched your search
+5
-1
@@ -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