Created
February 17, 2015 15:30
-
-
Save spikensbror/1faf79419bbff08afceb to your computer and use it in GitHub Desktop.
My bash configuration.
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
# GruvBox 256 palette fix for the terminal. | |
source ~/.vim/bundle/gruvbox/gruvbox_256palette.sh | |
# Git indicator in PS1. | |
source ~/.git-prompt.sh | |
export GIT_PS1_SHOWDIRTYSTATE=1 | |
export GIT_PS1_SHOWSTASHSTATE=1 | |
export GIT_PS1_SHOWUNTRACKEDFILES=1 | |
export GIT_PS1_SHOWUPSTREAM='auto' | |
export PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h$(__git_ps1 " (%s)")\[\033[01;34m\] \w\[\033[00m\]\n\$ ' | |
# Fix npm path. | |
export PATH="$PATH:$HOME/.npm/bin" | |
# Various aliases that are highly utilitarian in nature. | |
alias fuck='sudo $(history -p \!\!)' | |
alias fucking='sudo' | |
alias cls='clear' | |
alias md='mkdir' | |
# Pasteboard aliases. | |
alias pbcopy='xsel -b -i' | |
alias pbpaste='xsel -b -o' | |
# Specify terminal color-mode explicitly. | |
export TERM=screen-256color |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment