command line - zsh alias open chrome with localhost port -


I am trying to create a nickname in my zsh alias to open Chrome with a local host: 9292 URL: How do I go about adding local hosts and ports? I have to do this work where it adds an application for my surname, but will not open correctly, what do I have here:

  / app / Google \ Chrome.app/Contents/MacOs / Google \ Chrome --port = 9292  

When I

  the message mistake  

there may be someone Before I can help to understand how I can run my nickname

surname devdocs = "/ application / Google \ Chrome.app/Contents/MacOs/Google \ Chrome" < / Code>

localhost and por With the loading?

Thank you,

Rob

open Http: // localhost: 9292 If Chrome is your default browser or

open http: // localhost: 9292 -a / application / Google \ Chrome.app if not .

Or write a function that is a port

  function lh () {if [$ # -eq 0]; Then open http: // localhost: 3000 others open http: // localhost: $ 1 fi} 


Comments

Popular posts from this blog

winforms - C# Form - Property Change -

javascript - amcharts makechart not working -

java - Algorithm negotiation fail SSH in Jenkins -