Step 1: Find your eMoji
Step 2: Make sure to have ZSH installed and configured
Step 3: Setup your terminal to output the eMoji
If you want to configure different values use the following escape sequences.
Sequence | Printed |
---|---|
%T | System time (HH:MM) |
%* | System time (HH:MM:SS) |
%D | System date (YY-MM-DD) |
%n | Your username |
%B – %b | Begin – end bold print |
%U – %u | Begin – end underlining |
%d | Your current working directory |
%~ | Your current working directory, relative to ~ |
%M | The computer’s hostname |
%m | The computer’s hostname (truncated before the first period) |
%l | Your current tty |
Remember you can always use the values that are available to your session.
Find out how to view the environment variables
You can also change the hostname of the machine with the following command.
That’s all there is to it.
Make sure if you found this post informative that you share it with your colleagues.
Talk to you next time,
Rick H.
I always had a passion for the field of STEM (Science, Technology, Engineering, and Math) and I knew I wanted to do something to make a difference in the world. I just didn’t know where to start. I was an immigrant in a new country, grew up in a tough environment, and wasn’t sure how… Read More