Skip to content

Instantly share code, notes, and snippets.

View alexwolfe's full-sized avatar

Alex Wolfe alexwolfe

  • San Francisco
View GitHub Profile
@alexwolfe
alexwolfe / sublime-terminal-setup.md
Created December 16, 2016 02:48
Setting up sublime on the command line
  1. Make sure /usr/local/bin exists. If /bin does not exist, create that directory sudo mkdir /usr/local/bin
  2. Create a symb link to sublime sudo ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" /usr/local/bin/sublime
  3. Open up your base profile vi ~/.bash_profile
  4. Add the following to your bash_profile and save:
# Sublime
export EDITOR='subl -w'
  1. Restart terminal and try open a file ex. sublime .bash_profile
@alexwolfe
alexwolfe / .base_profile
Created April 3, 2014 04:40
Command Line Shortcuts
alias la='ls -alh'
alias ls='ls -G'
alias ll='ls -hl'
alias m=more
alias ..="cd .."
alias d='dirs'
alias gs="git status"
alias gits="git status"
alias gb="git branch"
alias ga="git add "
@alexwolfe
alexwolfe / .bash_profile
Created April 3, 2014 04:33
Terminal Customizations
###########################################
## TERMINAL CUSTOMIZATIONS ################
###########################################
## CUSTOM TAB NAME
function tabname {
printf "\e]1;$1\a"
}
## CUSTOM WINDOW NAME