majorpax.blogg.se

Chrome on macos
Chrome on macos










In some cases, you might want to accept a URL from STDIN.

chrome on macos

Similarly, the gc command will open the url in Chrome, but it will use the specified profile every time. With this, you can run: gc # Open or focus on the Chrome window

chrome on macos

Or if you'd like to create an alias to the command that let's you specify a profile, you could do the following: alias gc="/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome -profile-directory=Profile\ 5"Īnytime you edit your bash_profile, you need to run source ~/.bash_profile or open a new shell to see the changes take effect. Here are a few examples (you can add them to your ~/.bash_profile). An alias allows you to basically create a shortcut for longer commands.

chrome on macos

If you're going to open URLs frequently, there are a few ways to dramatically increase efficiency.












Chrome on macos