Does your terminal look boring ugly and slow Then don’t worry
We are going to make it fast and beautiful
Welcome to creativeje In this video I will be showing you how you
can setup the zsh shell with ohmyzsh framework and powerlevel10k theme
Shivam is here so you don’t need to go anywhere let’s get started
Zsh is shell which is very fast and powerful compared to other shells like bash fish powershelgl
or windows command prompt
I will be showing the steps for all the operating system whether you use windows 10 or Mac or
linux distro like ubuntu, mint or manjaro
First we will see the windows 10 installation Skip to the time stamp if you are not using
windows 10
Go to the search menu and type turn windows features
Now just open it
Scroll down and lookup for windows subsystem for linux
Just check the box and hit ok
It will take few minutes and after that click on restart now
After restarting your windows Come back to the video
“Hey don’t you dare to run away”
You came back good good
Now open the Microsoft store And search for ubuntu
Click on get the apps As here you can see that we have many linux
distros so just install which you like, here I am going to install ubuntu.
And it is also going to take some time depending on your internet speed
After it get’s installed hit the launch button
Ohh this will take some moment Try hitting enter if nothing shows after few
minutes
Now what you gotta do is type the username and password for your linux system
And we are done. So just follow the linux instructions now
Hey guys now we will install zsh shell on linux
Open your terminal and type sudo apt install zsh
And hit enter
Hit Y on your keyboard
Wait for few seconds and it will be installed
Now we will need to change our default shell So for that type
chsh -s $(which zsh) And
hit enter
Then just restart your terminal If you are on ubuntu you might have to logout
and log in
Then you will get a prompt like this so just hit 0 on your keyboard
To verify the shell change type echo $Shelll in uppercase
And you should see this in output
Hey guys now we are going to see the Mac OS X installation
If you are running the latest version of Mac OS which is Catalina then your terminal should
have ZSH shell as default
If it’s not default then you can change it by running this command and you will see
a percent icon at the end
I have also written this article on medium which you can follow but I will list all the
commands in the description so you can just copy it from there
To verify the shell just run echo shell command and you should see something like this
And by any chance if zsh is not installed you can run brew install zsh
Now lets install ohmyzsh which is very popular and powerful framework
All these commands can be found in description or in my medium article
So just copy this line which will download and execute the ohmyzsh installer.
As here you can se it has been installed and we have a green arrow
Then clone the powerevel10k theme into zsh folder
We need nerd fonts which contains icons to give a cool iconic look
So just download the fura mono nerd font And install it
But in ubuntu the fura font didn’t show so you can use the fira mono
And if you want other font weights you can also download from the nerdfont repository
they have a huge collection of fonts
Now we are going to download autosuggestion and syntax highlighting plugin
You can see here how it works and how useful it can be
So we will just clone the both plugin into plugins folder of oh my zsh
Now we need to edit the zshrc file You can use any editor of your choice like
nano or vim. I like micro which can be installed by running brew install micro
I have list commands for linux in the description
Now just open the file by typing micro tilde ~ slash which will represent the root directory
followed by .zshrc
Which is our oh my zsh configuration file We need to make few changes here
First the theme Add powerlevel10k location instead of the
robyrussel Then add this line to change font style of
powerlevel10k
You can also enable the case sensitivity by removing hash symbol
Scroll down and you can enable the correction for commands if you want
Now we need to add the plugins which we downloaded So just copy this line and paste it
They have many plugins you can download which you want
Now we are done here so just save the file by pressing ctrl + s and close the app by
pressing ctrl + q.
We are almost done guys So now it’s time to change the theme and
font
If you you use VS code then you will have to change your shell by clicking on the dropdown
then select default shell
On windows choose wsl and in macOS and linux choose zsh
Now if you will open your terminal it will look like this so just click on the gear icon
and go to settings
And in the search box type terminal.font
Now go to the input field and type FuraMono Nerd Font
Or whatever font you installed. Make sure to type with same case
Then just save settings by pressing Ctrl+S And give a restart to your terminal
Boom we have our cool icons now
Now we will change macOS terminal preference go to the timestamp for your OS
So you would be getting this kind of prompt and missing icons
Click on terminal and go to preference Now select profile tab and click on change
font button Just search for furamono and select it then
close the window
As here you can see we have our precious diamond Yeah
So if you didn’t get this setup prompt then run p10k configure command
I will quickly go through all these you just have to keep pressing the given option
In prompt style you can configure how your prompt should look
So just customise it like you want
And in instant prompt mode press 3 Then hit Y
And that’s it you are done
But hold on it’s still ugly so we will install custom themes
Go to macOS theme repo and clone it into your desktop or wherever you like using git clone
And you can see how many schemes they have for you
It has been downloaded so I will just open it in finder
And in the schemes folder we have all the themes
You can try them But I really like ocean material so just open
it
Now again go to your terminal preference and change the font to fura mono
As you can se it looks beautiful now Just make this your default theme now by clicking
on the default button
Hello linux users now it’s your time Just open your terminal and go to it’s preferences
Click on your profile name which is unnamed here
Enable custom font and click on the font name
Search for firamono and choose one which you like.
And then click on select.
So as here you can se we have the icons If you want to change the color schemes you
can also do that
Just visit this Gogh project page which will be linked in the description
And now copy the linux command below
you can see all the themes which it has
So just open up the terminal and paste the command
And hit enter
Now it will load the themes name so just lookout through the list
Once you decide which one to use I like pencil dark
So I will just type its number which was 128 you can also install multiple themes or all
of theme
Our theme has been installed now You can see it in the preferences window
Click on the dropdown icon and choose set as default
Then just restart your terminal and we are done.
Hello again windows user
You will have to install the windows terminal preview app to get the beautiful looks,
So just install it and launch it
You will see a powershell window like this click on the dropdown and select ubuntu
As here you can see our icons are missing right
So how do we bring them back
Again click on the dropdown and go to settings
It will launch a JSON file in notepad
So just scroll down a little and try to find ubuntu
After the comma type font face in double quotes then colon and then FuraMono Nerd Font
Which is the font we installed
When you are done just press Ctrl + S to save the file
And as here you can see we have the pretty pretty cool cool icons
And if you haven’t ran the p10k configure then you can do it now.
I will quickly go through all the options
Type 3 in instant prompt mode
And at last just press Y
Now we are done.
But if you would have noticed that we always get powershell in new tab we can change it.
Just go back to the profiles.json and copy the guid of ubuntu and go back to top
And paste it in the default profile And then save it
So now when we will open the new tab we will get ubuntu as our default shell
Now click on the settings by holding the alt key on your keyboard
This will open the default settings file You can see all the color schemes here
Lets say if we want to use this one half light theme
Go to the ubuntu settings And type color scheme followed by the name
of the color scheme
And hit ctrl+s to save the file
You can see that our theme has been changed from black to white
We can again change it to one half dark to make our terminal scary
If you want more color schemes then visit terminal splash.com they have uploaded few
more cool themes
You will have to manually copy paste the schemes So just click on the code.
Copy all of it and
And in the profiles just paste it in the schemes bracket
It doesn’t has any name so we are gonna give it
So just type name followed by colon and the scheme name, also don’t forget the comma
Now go to top where we added the scheme and change it to the name we gave which was vscode
Now press ctrl+s to save your file again And you can see the changes
Let me show you a cool thing about this terminal I have this robo fighting gif in my downloads.
And we are gonna add it as a background image So go back to the profiles file
Now type background image followed by colon and then by the image path
We can copy the image path by clicking the copy path button
After that we can paste the path but we will have to change back slash into forward slash
So I will do it quickly
And save it with ctrl + s
Wow boom Our gif is in the background
You can add more cool images or gifs to make it more awesome
And that’s it for this video guys I hope now you would fall in love with your terminal
If you found this video helpful then don’t forget to press the like button and if not
then also don’t forget to press the dislike button
And also if you are new then the read subscribe button is waiting for you to click
You can also support my work on patreon to help me to make more awesome videos and help
you guys
Alright you can checkout my other awesome videos
Thanks for watching will see you soon