Answer the question
In order to leave comments, you need to log in
How to set system variables in mac os x?
Hello.
I recently became the owner of a macbook, and decided to use the full potential of the unix system terminal. Actually the question is: How to register system variables in mac os?
Example:
$ open -a sublime index.html
instead of
$ open -a /Applications/"Sublime Text" index.html
Answer the question
In order to leave comments, you need to log in
Not exactly the same, but might solve the problem:
Enjoy:
sublime index.html # Открыть index.html
sublime . # Открыть текущую директорию
And don't forget to type
# source ~/.bash_profile
so as not to get bitter disappointment caused by the need to prescribe everything again after a reboot
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question