Created
June 3, 2019 14:03
-
-
Save lionello/29070e8756d3608bef42d2365107ed7d to your computer and use it in GitHub Desktop.
This file contains 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
if [ "$(uname -s)" != "Linux" ] && [ -f $(brew --prefix)/etc/bash_completion ]; then | |
. $(brew --prefix)/etc/bash_completion | |
fi | |
source ~/.profile | |
PATH=/usr/local/sbin:$PATH | |
function __smile() { if [ $? -ne 0 ]; then echo ":("; else echo ":)"; fi } | |
GIT_PS1_SHOWDIRTYSTATE=true | |
PS1="\n\$(__smile)\[\e[1m\]\w\[\e[0m\]\$(__git_ps1)\n\$ " | |
export CLICOLOR=1 | |
export LANG=en_US | |
export HISTFILESIZE= | |
export HISTSIZE= | |
export HISTCONTROL=ignoreboth | |
alias ..='cd ..' | |
alias cd~='cd ~' | |
alias cd..='cd ..' | |
alias gs='git status' | |
alias ...='cd ../..' | |
alias cd...='cd ../..' | |
alias cd-='cd -' | |
alias tac='tail -r' | |
--() { cd -; } | |
alias grep='grep --color' | |
alias mv='mv -i' | |
alias cp='cp -i' | |
#alias rm='rm -i' | |
alias l.='ls -d .*' | |
alias ll='ls -l' | |
export GOPATH=$HOME/.go |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment