To open files from the terminal in Unix w/ Google Chrome:
##Using Bash:
- Open terminal
- cd .bash_profile
- Add the following line to the end:
alias chrome='open -a "Google Chrome"'
##Using Zsh:
- Open terminal
- cd .zshrc
- Add the following line to the end:
alias chrome='open -a "Google Chrome"'
##Test
Open your terminal and type chrome continued by file name.
###Example:
chrome index.html