Created
October 21, 2013 13:33
-
-
Save Lascorbe/7083966 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Enable programmable completion features. | |
| if [ -f /etc/bash_completion ]; then | |
| source /etc/bash_completion | |
| fi | |
| # Set the PS1 prompt (with colors). | |
| # Based on http://www-128.ibm.com/developerworks/linux/library/l-tip-prompt/ | |
| # And http://networking.ringofsaturn.com/Unix/Bash-prompts.php . | |
| PS1="\[\e[34;1m\]\u:\[\e[32;1m\]\w$ \[\e[0m\]" | |
| # Set the default editor to vim. | |
| export EDITOR=vim | |
| # Avoid succesive duplicates in the bash command history. | |
| export HISTCONTROL=ignoredups | |
| # Append commands to the bash command history file (~/.bash_history) | |
| # instead of overwriting it. | |
| shopt -s histappend | |
| # Append commands to the history every time a prompt is shown, | |
| # instead of after closing the session. | |
| PROMPT_COMMAND='history -a' | |
| # Add bash aliases. | |
| if [ -f ~/.bash_aliases ]; then | |
| source ~/.bash_aliases | |
| fi | |
| GIT_AUTHOR_NAME="Luis Ascorbe" | |
| GIT_COMMITTER_NAME="$GIT_AUTHOR_NAME" | |
| git config --global user.name "$GIT_AUTHOR_NAME" | |
| GIT_AUTHOR_EMAIL="devlascorbe@gmail.com" | |
| GIT_COMMITTER_EMAIL="$GIT_AUTHOR_EMAIL" | |
| git config --global user.email "$GIT_AUTHOR_EMAIL" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment