add chrome and canary aliases

simplify the task of starting chrome and canary from the command line
This commit is contained in:
Nick Nisi
2015-08-24 18:34:36 -05:00
parent 095fe4f5c0
commit 1058ea646b

View File

@@ -71,3 +71,6 @@ alias pumpitup="osascript -e 'set volume 10'"
# Kill all the tabs in Chrome to free up memory
# [C] explained: http://www.commandlinefu.com/commands/view/402/exclude-grep-from-your-grepped-output-of-ps-alias-included-in-description
alias chromekill="ps ux | grep '[C]hrome Helper --type=renderer' | grep -v extension-process | tr -s ' ' | cut -d ' ' -f2 | xargs kill"
alias chrome="/Applications/Google\\ \\Chrome.app/Contents/MacOS/Google\\ \\Chrome"
alias canary="/Applications/Google\\ Chrome\\ Canary.app/Contents/MacOS/Google\\ Chrome\\ Canary"