Skip to content

Instantly share code, notes, and snippets.

@DmytroVasin
Last active May 25, 2017 06:51
Show Gist options
  • Save DmytroVasin/83500fe05621ce56e0d1cf1917069997 to your computer and use it in GitHub Desktop.
Save DmytroVasin/83500fe05621ce56e0d1cf1917069997 to your computer and use it in GitHub Desktop.
export BUNDLER_EDITOR="/usr/local/bin/subl"
export EDITOR="/usr/local/bin/subl"
### Added by the Heroku Toolbelt
export PATH="$HOME/.rvm/bin:$PATH"
export PATH="/usr/local/heroku/bin:$PATH"
export PATH="/usr/local/bin:$PATH"
export PATH="/usr/local/sbin:$PATH"
### Yarn:
export PATH="$HOME/.config/yarn/global/node_modules/.bin:$PATH"
export NODE_PATH='/usr/local/lib/node_modules'
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
source ~/.git-libs/git-completion.bash
source ~/.git-libs/git-prompt.sh
alias ns='cd ~/Dropbox/ror/anadea/nowshop'
alias cl='cd ~/Dropbox/ror/anadea/clique'
alias meek='cd ~/Dropbox/ror/anadea/meek.co'
alias idsp='cd ~/Dropbox/ror/anadea/idsp'
alias loy='cd ~/Dropbox/ror/anadea/loyalty-app-web'
alias jw='cd ~/Dropbox/ror/junior_way'
alias show_files='defaults write com.apple.finder AppleShowAllFiles YES; killall Finder /System/Library/CoreServices/Finder.app'
alias hide_files='defaults write com.apple.finder AppleShowAllFiles NO; killall Finder /System/Library/CoreServices/Finder.app'
alias rs='rails server'
alias rc='rails console'
alias rcs='rails console --sandbox'
alias restore='rake db:drop && rake db:create && sudo pg_restore --verbose --no-acl --no-owner --clean --jobs 4 -h localhost -U now_shop -d now_shop_development dump.dump'
alias cat="pygmentize -g"
export GIT_PS1_SHOWDIRTYSTATE=true
export PS1='╔═[\[\033[00;32m\] \t \[\033[0;37m\]]–[ \[\033[00m\]\[\033[01;34m\]\w\[\033[00m\] ] \n╚═➤\033[01;31m\]$(__git_ps1 " (%s)")\[\033[00m\] $ '
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment