Skip to content

arturoaviles/openWithChrome

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 

Repository files navigation

openWithChrome

To open files from the terminal in Unix w/ Google Chrome:

##Using Bash:

  1. Open terminal
  2. cd .bash_profile
  3. Add the following line to the end:

alias chrome='open -a "Google Chrome"'

##Using Zsh:

  1. Open terminal
  2. cd .zshrc
  3. 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

About

Alias to open files in terminal with Google Chrome

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published