Skip to content

Instantly share code, notes, and snippets.

@danmartens
Last active December 14, 2015 11:59
Show Gist options
  • Save danmartens/5082939 to your computer and use it in GitHub Desktop.
Save danmartens/5082939 to your computer and use it in GitHub Desktop.
ZSH Functions
c() { cd ~/Projects/$1; }
_c() { _files -W ~/Projects -/; }
compdef _c c
alias c='nocorrect c'
killport() { kill -9 $(lsof -i tcp:$1 -Fp | tr -d p); }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment