Created
June 26, 2015 05:07
-
-
Save vko-online/8fc32fb6bcf0369b3ab0 to your computer and use it in GitHub Desktop.
Launch chrome from command line
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Alias for launching chrome from command line | |
### Add to .bashrc or .bash_profile or .zshrc (if zsh) | |
### ex: chrome twitter.com | |
function chrome(){ | |
open -a 'Google Chrome' 'http://'$1; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Would be better to have autocomplete on popular websites, like some cool guy wrote here
UPD:
file:.chrome_cmd.bash
error