Created
December 2, 2016 17:47
-
-
Save amsheehan/e589cf72ecf98c8453cead308bcfee66 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
#!/bin/bash | |
export PATH="/usr/local/bin:$PATH" | |
if [ -f `brew --prefix`/etc/bash_completion ]; then | |
. `brew --prefix`/etc/bash_completion | |
fi | |
PS1="(╯°□°)╯︵[\w] 𝝺: " | |
alias .="ls -la" | |
alias ..="cd .." | |
alias ...="cd ../.." | |
alias c="clear" | |
alias "nuke"="rm -rf" | |
alias gl='git log --pretty=format:'\''%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset'\'' --abbrev-commit' | |
function parse_git_branch() { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/' | |
} | |
alias lock='/System/Library/CoreServices/"Menu Extras"/User.menu/Contents/Resources/CGSession -suspend' | |
alias reload='source ~/.bash_profile' | |
alias grep='grep --color' | |
alias show_system_files='defaults write com.apple.finder AppleShowAllFiles YES && killall Finder' | |
alias hide_system_files='defaults write com.apple.finder AppleShowAllFiles NO && killall Finder' | |
alias gs='git status' | |
alias ga='git add -u .' | |
alias gb='git branch' | |
alias gc='git commit' | |
alias gd='git diff' | |
alias go='git checkout ' | |
alias gk='gitk' | |
alias cleanb='git remote prune origin' | |
alias fwd="cd ~/Developer/fwd-api" | |
alias "fwd-web"="cd ~/Developer/fwd-web" | |
alias "fast-app"="cd ~/Developer/fast-friends-app/src" | |
alias "fast-api"="cd ~/Developer/fast-friends-server" | |
alias "j-checkins"="cd ~/Developer/north-dakota-checkins" | |
alias "ebash"="vim ~/.bash_profile" | |
alias "sbash"="source ~/.bash_profile" | |
alias "speed"="speedtest-cli" | |
alias "proxy-login"="ssh -i \"~/.ssh/keys/s3-proxy.pem\" ec2-user@ec2-54-85-108-175.compute-1.amazonaws.com" | |
alias "s3-proxy-login"="ssh -i \"~/.ssh/keys/s3-proxy.pem\" ec2-user@ec2-54-165-71-161.compute-1.amazonaws.com" | |
export PATH=$PATH:/Users/alexsheehan/.local/bin | |
# psql | |
export PATH=$PATH:/Applications/Postgres.app/Contents/Versions/9.4/bin | |
# FWD:Everyone Docker config | |
export DOCKER_HOST=tcp://192.168.99.100:2376 | |
export DOCKER_MACHINE_NAME=default | |
export DOCKER_CERT_PATH=/Users/alexsheehan/.docker/machine/machines/default | |
export DOCKER_TLS_VERIFY=1 | |
# Wireshark | |
export PATH=/usr/local/opt/qt5/bin:$PATH | |
# Python for Powerline | |
PATH="/usr/local/share/python/:$PATH" | |
# The Fuck | |
alias fuck='$(thefuck $(fc -ln -1))' | |
export VISUAL=vim |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment