|
|
@ -1,4 +1,5 @@ |
|
|
|
#! /bin/bash |
|
|
|
# If not running interactively, don't do anything |
|
|
|
[ -z "$PS1" ] && return |
|
|
|
|
|
|
|
# Colors used for status updates |
|
|
|
ESC_SEQ="\x1b[" |
|
|
@ -22,9 +23,5 @@ fi |
|
|
|
# Always use color output for `ls` |
|
|
|
alias ls="command ls ${colorflag}" |
|
|
|
|
|
|
|
alias gst='git status' |
|
|
|
alias ga='git add' |
|
|
|
alias gc='git commit -m' |
|
|
|
alias gush='git push' |
|
|
|
alias gull='git pull' |
|
|
|
alias gb='git branch' |
|
|
|
# Source global definitions |
|
|
|
test -r ~/.bash_aliases && . ~/.bash_aliases |