38 lines
945 B
Bash
38 lines
945 B
Bash
alias ll='ls -al'
|
|
alias la='ls -A'
|
|
alias l='ls -CF'
|
|
|
|
if [ -f ~/.bash_aliases ]; then
|
|
. ~/.bash_aliases
|
|
fi
|
|
|
|
if ! shopt -oq posix; then
|
|
if [ -f /usr/share/bash-completion/bash_completion ]; then
|
|
. /usr/share/bash-completion/bash_completion
|
|
elif [ -f /etc/bash_completion ]; then
|
|
. /etc/bash_completion
|
|
fi
|
|
fi
|
|
|
|
export VISUAL=vim
|
|
export EDITOR="$VISUAL"
|
|
|
|
# gitprompt configuration
|
|
|
|
# Set config variables first
|
|
GIT_PROMPT_ONLY_IN_REPO=1
|
|
|
|
GIT_PROMPT_SHOW_UPSTREAM=1
|
|
GIT_PROMPT_FETCH_REMOTE_STATUS=1 # uncomment to avoid fetching remote status
|
|
|
|
# GIT_PROMPT_START=... # uncomment for custom prompt start sequence
|
|
# GIT_PROMPT_END=... # uncomment for custom prompt end sequence
|
|
|
|
# as last entry source the gitprompt script
|
|
# GIT_PROMPT_THEME=Custom # use custom .git-prompt-colors.sh
|
|
GIT_PROMPT_THEME=Solarized # use theme optimized for solarized color scheme
|
|
source ~/.bash-git-prompt/gitprompt.sh
|
|
|
|
export PATH=~/bin:$PATH
|
|
|