diff --git a/vimrc b/.vimrc similarity index 100% rename from vimrc rename to .vimrc diff --git a/zshrc b/zshrc deleted file mode 100644 index 184b876..0000000 --- a/zshrc +++ /dev/null @@ -1,67 +0,0 @@ -ZSH=$HOME/.oh-my-zsh -# ZSH_THEME="af-magic" -# ZSH_THEME="agnoster" -ZSH_THEME="robbyrussell" -# ZSH_THEME="avit" -# ZSH_THEME="pure" -# ZSH_THEME="" -source $ZSH/oh-my-zsh.sh -# autoload -U promptinit; promptinit -# prompt pure - -eval $(docker-machine env) -source /usr/local/share/zsh/site-functions/_aws -prompt_context () { } - -alias gl="git pull" -alias gs="git status" -alias gb="git branch" -alias gc="git checkout" -alias gcb="git checkout -b" -alias gcm="git commit -m" -alias gpo="git push origin" -alias gpof="git push origin --force-with-lease" -alias gph="git push heroku" -alias stree='open -a SourceTree .' -alias be="bundle exec" -alias syn='git branch --merged | grep -v "\*" | grep -v master | grep -v development | xargs -n 1 git branch -d' - -# tmux alias -alias tmux="TERM=screen-256color-bce tmux" -alias ta="tmux a -t" -alias tn="tmux new -s" - -export EDITOR='vim' -export LANG=en_US.UTF-8 -export LC_ALL=en_US.UTF-8 - -export PATH="$PATH:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Users/pocketmath/.rvm/bin" -export PATH="$PATH:/path/to/elixir/bin" -export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting - -# Opens the github page for the current git repository in your browser -function gh() { - giturl=$(git config --get remote.origin.url) - giturl=${giturl/git\@github\.com\:/https://github.com/} - giturl=${giturl/\.git/\/tree/} - # branch="$(git symbolic-ref HEAD 2>/dev/null)" || - branch="$(git rev-parse --abbrev-ref HEAD)" || - branch="(unnamed branch)" # detached HEAD - branch=${branch##refs/heads/} - giturl=$giturl$branch - open $giturl -} - -# Opens the github page for current git repo and compares it -> for a new PR. -function newpr() { - giturl=$(git config --get remote.origin.url) - giturl=${giturl/git\@github\.com\:/https://github.com/} - giturl=${giturl/\.git/\/compare/} - branch="$(git rev-parse --abbrev-ref HEAD)" || - branch="(unnamed branch)" # detached HEAD - branch=${branch##refs/heads/} - giturl=$giturl$branch - open $giturl -} -# ssh -# export SSH_KEY_PATH="~/.ssh/dsa_id"