Answer the question
In order to leave comments, you need to log in
How to make such a terminal design?
Recently I started to learn the terminal for mac os. And I came across non-standard commands and design in the video.
www.youtube.com/watch?v=1mZ6nV-dlso at 0:30
How can you customize the appearance and commands of the terminal like this?
to papka
sub index.html
Obviously do not work in default.
Answer the question
In order to leave comments, you need to log in
Writing alias for longer commands:
en.wikipedia.org/wiki/Alias_%28bash%29
https://www.sublimetext.com/docs/2/osx_command_lin...
Here is an example of how to run Sublime Text from a terminal. And then in the file ~ / .profile we create an alias sub which will open Sublime and create a new file with the specified name.
The prompt string is changed by editing the PS1 variable
. For example, I have PS1='\[\e[1;34m\]\W: ⤷\[\e[0m\] '
Abbreviations, as already said, using alias
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question