first pass at adding aliases for common commands

This commit is contained in:
2013-11-05 08:45:07 -06:00
parent 64f3a0a5e2
commit a6e1ddc471
2 changed files with 25 additions and 6 deletions

View File

@@ -1,4 +1,5 @@
"$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
PATH=/usr/local/bin:~/bin:/usr/local/share/npm/bin:$PATH
PATH=$PATH:$HOME
set -o vi
@@ -9,10 +10,6 @@ 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()
{
@@ -39,5 +36,10 @@ battery_status()
fi
}
export PROMPT_COMMAND='PS1="$(battery_status) [\d \t] \h:\W \u\$ "'
export PROMPT_COMMAND='PS1="[\d \t] \h:\W \u\$ "'
source ~/.bash/aliases
if [ -f ~/.bash_local ]; then
. ~/.bash_local
fi