Skip to content

Instantly share code, notes, and snippets.

@atkolkma
Created May 6, 2015 14:39
Show Gist options
  • Save atkolkma/9a4a9991060ffeeb9cd3 to your computer and use it in GitHub Desktop.
Save atkolkma/9a4a9991060ffeeb9cd3 to your computer and use it in GitHub Desktop.
Computer Setup
[[ -s "$HOME/.profile" ]] && source "$HOME/.profile" # Load the default .profile
export PATH=/usr/local/bin:$PATH
export EDITOR='subl -w'
export PS1='\n\[\033[00;32m\]\[\033[01;37m$(~/.rvm/bin/rvm-prompt s v) \[\033[01;32m\w \[\033[01;36m`~/personalize/scripts/branch_display.bash` \[\033[01;31m`echo $RACK_ENV` \[\033[01;33m\n⚡  \[\033[00m\]'
source ~/.bashrc
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
alias ls='ls -a'
#Rack + Rails
alias rd='export RACK_ENV="development"'
alias rt='export RACK_ENV="test"'
alias migrate='rake db:migrate && rake db:test:prepare'
alias t='touch tmp/restart.txt && echo "touch tmp/restart.txt"'
#Git
alias g='git log --graph --abbrev-commit --relative-date -20 --all'
### Added by the Heroku Toolbelt
export PATH="/usr/local/heroku/bin:$PATH"
export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting
export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
{
"font_size": 16.0,
"ignored_packages":
[
"Vintage"
],
"save_on_focus_lost": true
}
[ { "keys": ["ctrl+super+left"], "command": "move_tab", "args": {"mod": -1} },
{ "keys": ["ctrl+super+right"], "command": "move_tab", "args": {"mod": 1} }
]
Sublime
Git
Git gutter
Move Tabs
Origami
Package Control
Ruby Test
Witch
option + tab => cycle window forward
sup + enter => zoom foremost window
Better snap tool
shift + sup + \ => maximize on next monitor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment