Make Windows Terminal look amazing!
I will show you how to customize your Windows Terminal (could also be used in Linux or Windows 10). We set up color schemes, fonts, and a cool-looking prompt that you can use for any shell (like PowerShell, zsh, or bash in WSL2) #Windows #WindowsTerminal #WSL2
My dot files and settings: github.com/christianlempa/dot...
Teleport-*: goteleport.com/thedigitallife
Follow me:
TWITTER: / christianlempa
INSTAGRAM: / christianlempa
DISCORD: / discord
GITHUB: github.com/christianlempa
PATREON: / christianlempa
MY EQUIPMENT: kit.co/christianlempa
Timestamps:
00:00 - Introduction
01:14 - Why use the Windows Terminal
02:23 - Use and configure the Windows Terminal
05:12 - Teleport (Advertisement-*)
05:58 - Use Nerd-Fonts
08:12 - Color Schemes
09:44 - Prompt for all OS and Shells
13:01 - Customize your Prompt
________________
All links with "*" are affiliate links.
Great video, I'm so glad this popped up on my feed. Several hours well spent configuring and customising this across my WSL environments and standardising my terminals. Also led me to install and configure exa which I wasn't aware of but is great. A warning to anyone that uses Defender for Endpoint and Attack Surface Reduction rules; starship.exe is blocked by "Block executable files from running unless they meet a prevalence, age, or trusted list criteria". I had to disable this to get it working. I'm hoping that MS implement a way to whitelist applications in the future. I also wish there was a way to install Starship without Chocolatey, I don't really want to run/use Chocolatey, but I couldn't figure out how.
Thanks mate :)
I always love your customizations! Edit: More than that, I love the starship prompt
Thank you so much!
Great content! Thanks for the ideas to customize the shell prompt and keep up your good work! ;)
Thank you! Of course I'll do :)
Woooww Broo!! AWESOMEEE I LOVE your customizations 💻✨
Excellent Terminal Customs Idea’s Thanks
You're welcome
loving this windows dev ops WLS2 windows Terminal stuff. as a network eng who likes to run windows and game, its really cool being able to have a good Terminal and having all the linux tools with a great GUI
Thanks! Glad you like it 😁
Thank you Christian, your customizations are VERY nice! What theme are you using in VSCode?
this terminal looks awesome 🎉
Christian, you're an amazing dude. Thanks for your videos.
Thank you! :)
Superb content, Hi Christian how did you customize your Warp terminal with the same purple texts/fonts? if you have a video could you point me to it.
great video, I've just trolled through the font sets but cannot find the curved corners you have used for the terminal prompts (in your starship.toml file, under the format section) could you advise the ascii code you used??
Thank you again for you videos Cristian! Your thoughts on oh-my-posh vs. starship? Personally I like oh-my-posh but it appears that starship-prompt offers more options. Some timestamps that were especially helpful ( I will use these later this week, I will have a new laptop to configure ) - 15:05 character maps - 16:00 distro logos
Thank you! Great feedback on the timestamps :) I haven't tried out oh-my-posh, but I wanted to until someone recommended me starship. And to me personally starship looks a bit better and was very straightforward.
@@christianlempa Now having tried both, I think that the starship is just all around better. The problem with Posh is visual corruption in windows terminal, and that it can feel quite clunky and is generally less customizable.
Thanks for making this how to video! How does one do "run as different user" with Win Term?
First off, great video and love your setup. For PowerShell how are you setting the windows flag icon in the prompt? I see for the Linux distros you are using the script as you mentioned in the video. Are you setting the icon in the PS profile?
Hey thanks! Yes I set it in the profile.
Is this the one you download from the microsoft store? im trying to customize the one that comes with windows 11, but when i try to open the settings it opens a json file in vs code and doesnt show much about customizing the app.
Thats freaking Awesome 😁
Windows is slowly becoming Linux every single day.
yes lol
More like Windows is absorbing Linux.... WSL basically runs a full version of Linux
@@maxstr Absorbing? Lol - Windows will eventually just be Linux with its own DE.
@@HyRax_Aus lmfao 🤣 😂 💀 😆
@@HyRax_Aus can you build your own kernel for windows?
timestamp 15:46 - colormap for bash, if you don't have/want zsh, the following bash shell function produces identical output. function colormap() { for c in {0..255}; do let "d=($c+3)%6" printf "\x1b[48;5;%dm \x1b[49m\x1b[38;5;%dm%03d \x1b[0;37;40m" $c $c $c if [ "$d" -eq "0" ]; then echo ""; fi done; echo }
Oh nice, awesome man! I'll add it to my .bashrc file on github :D Thanks!
This is exactly what I was stating to someone in the comments
Love it!
Thank you Christian :)
You're welcome :)
It is in evaluation mode? Any logs from our computers that goes to programmers? How did you add the windows logo to the prompt? Thanks
Hi Christian, Does your Windows Dotfile has been change? I saw different json schemes color setting vs video, can you share the old one, thank you and great job !!👌
Oh my this prompt customization is a rabbit hole... but thank you for introducing this
You're welcome! Go down the rabbit hole :D
where did you get the background image? Looks really nice, would like to have this too please.
Search Mr Robot Background
that is cool looking wallpaper. do you have link for that?
Wow!! Great video!!
Thx! :)
Awesome, although i have issues with your starship config you uploaded. All the icons are broken but im not sure if i miss them or if the upload is broken. Or if i have to do them all over ? Just wanted to use the same as you have.
Try out a different nerd-font. Sometimes the Icons are "smaller" or "overlap". I'm currently testing "JetBrainsMonoMedium Nerd Font", which works well.
Great channel!
Thank you very much, greetings from Argentina 😊
Thanks! Greetings from Ger :)
I really enjoyed the vid! What VS code theme were you using?
I built my own :) it’s called „the digital life“
hi, thank you for the video ! But how do you use an Ubuntu shell ? Wsl ? But with a wsl you have to install starship a second time to the wsl right? Thank you for your help :)
I always like all your customizations can we use zsh plugins with starship ?
I guess that should work, if you're refering to zsh-autosuggestions, etc. that works on my side
How do you use your script? RemoteSigned allrestrictive unrerective rectritive
Whats your vscode theme in this video? awesome colors
Never thought I'd live to see ricing on windoze
Man, love your content and your wallpaper. Where is it from? Could you maybe pass me a link to a full res version? :)
Thank you so much :D I just downloaded it from google, when searching for Mr Robot wallpaper ;)
@@christianlempa Thanks. Will look it up!
Great work. Can you tell me what VSCode theme you are using?
Thanks! Sure I'm using my own one :D marketplace.visualstudio.com/items?itemName=xcad2k.vscode-thedigitallife
Awesome and with the pane config, can we save it in case we restart the terminal?
Thanks mate! Yeah you can enable it in the settings under "When terminal starts"
Nice! One question tho, where did you find these nice icons that we can see on the windows terminal tabs?
I'm not sure if I'm allowed to share them, but you could look at a website like icons8 f.e. ;)
@@christianlempa Thanks! Yes I used icons8 but some icons appear pixelated in the tab. anyway! keep it up!
@@Alex1996984 I think he's using a paid version because I'm facing the same pixel problem
@@Alex1996984 MS used to ship Windows Terminal with popular distro icons built-in. Although it is removed in later versions due to copyright issues. Edit: it should be trademark issues, not copyright.
@@YousefMohamed-jb8bq you can change the icon for each terminal. Just find you suitable distro icon or even just any image you like.
That is a wallpaper, where do you usually get them from?
love this!!!!!
thanks :D
Where are the icons from %userprofile%\WindowsTerminalIcons,
Do you know why some fonts are not being interpreted by my PC even though NerdFonts has been installed?
Hello Chris can you help me to add status prompt to see if i have an python3 virtual env active ?
Nice! Welcome to the Starship prompt ;)
Thank you! Just looked nice on your terminal :D
I partially succeeded. But the problem I am facing is with ubuntu. I made my ubuntu look like how when you paste the code line needed in bashrc file. But I can't make it anything like how it is shown in this video. Like where should the location of zshrc file be in my windows pc? And also the .config file and starship.toml. By the way , I successfully decorated cmd and powershell as same as in the video. Please help me out.
I knew it had to be starship prompt when you said I use it everywhere. 😁
Haha that was the right guess :D
Thank you so much
Awesome! Thanks! All working perfectly... P.S. But at beginning my icons was smaller then yours - I fixed it with the differen font type - JetBrainsMono Nerd Font.
Glad it helped!
@@christianlempa AWESOME! By the way. I add zsh-autosuggestions and it's working like a charming. But do not get history from console after relogin.
I was struggling with the same thing using the Hack NF...thanks for calling this out; switching to the JetBrains font fixed this for me too. Thanks again!
hello, thanks a lot for the tutorial. i tried to use your configuration but the icons are not shown as yours and sorry to ask how did you add the configuration to your zshrc file?
I'll update the repo with a readme soon
Its on your home directory, copy the init script, then type vi ~/.zshrc to open the file in vim.
@@akshitthakur5179 thanks, i already got it. thanks
Nice Guide! Just one question: Do you have to transfer and install your starship config files onto every single server you want to ssh into?
Did you figure it out ?
yes
Hello and thank you for your awesome video. How to you share the config across all of your WSL distros? Once again thanks you for your time and help.
I'm using yadm.io, it's based on git and uses the same syntax to create a repo for your homefolder. Pretty useful.
great content!
Thx!
I love this video tutorial, I have been been using chatgpt in the terminal and wondered if you found any way to have it auto read text. (the windows narrator is terrible and can't really read my terminal properly) Any suggestions on how to enable that in terminal?
Thank you so much! :)
How do I use your hackthebox custom theme for my zsh on Pop OS?
Can you please add a link to the JSON file that you have currently in the demo since they look really good and well setup.
Added a link in the description to my dotfiles! Thanks ;)
Do you know how to make the up key (to repeat a command) to filter based on suffix like on oh-my-zsh, if you type something like `git pu` and press up it only show commands that start with `git pu` is that possible with the starship? Thanks
I think it should be independet from the prompt, because it sounds like a function of zsh, which is of course fully supported in starship.
I'm sorry, I don't exactly understand does the same Starship install and conf work on poweshell and on ubuntu subsystem terminal or I'd have to install and conf it separately for each subsystem?
You'll need to install it once per OS, but invoke it on each shell, so powershell needs a different init script than bash or zsh
Your vs code's edges look like a round shape. how did you do it?
Great video. I was originally using oh-my-zsh. Starship looks good. still working my way through getting the perfect prompt and colour config. 1 question though. I am still unable to get the icons/emojis to work on my mac. any assistance would be appreciated.
Thank you mate :) On MacOS you just need to install the Font, and you need a terminal that supports changing the font. Check out my video about MacOS terminal: kzhead.info/sun/gcqgl7htnKB8Z6c/bejne.html
I can't find the json file on your github @ 09:23 why did you remove the file? Anyway i like the themes tho.
I changed the repo to dotfiles-win, you find it on my GitHub page :)
hello, why does windows have two terminals cmd and powershell? what is the diference between them
Awesome video again Christian, but can you tell me the name of the intro song?
Thank you mate! Sure it's "Future Vibes - Qeeo"
@@christianlempa got it.
Ubuntu and Powershell is missing from the cmd thing and it gives this error: Could not find your default profile in your list of profiles - using the first profile. Check to make sure the "defaultProfile" matches the GUID of one of your profiles.
oh never know that it can be splitted. Thanks for sharing. Can you share your Windows theme and wallpaper please?
I using ubuntu WSL its says staship command not found after installing it to the /.local and setting /.local to PATH & Adding the bashrc command
I'm not sure if they've changed something, but after I installed it, I wanted to use it for SSH'ing to a Linux box. Nope. The option for Debian - Ctrl + Shift + 3 errors with a: [process exited with code 1 (0x00000001)] This was when I was selecting the Terminal for Debian. From there, you actually need to install the WSL subsystem (Linux on top of Windows). Installing this requires the Windows Virtual Machine Platform, which will prevent VirtualBox VMs from starting up. Waste of time.
where can i download that desktop wallpaper, it's amazing!
Just search for Mr Robot wallpaper :D
Great ... thanks 🙂
You're welcome 😊
Do you have video of how you got kali linux and unbuntu linux on your terminal like that?
No, haven't done much with that in the recent past :/
How did you add the other stuff? Aside from Command Prompt, PowerShell and Cloud Shell I don`t have any other command line.
I ask for Kali Linux, Ubuntu Linus and so.
I'll probably make some videos in the future about terminal tools, that I'm using. I'm still waiting though for a great version of exa on Windows. Then there will be a video coming about it :)
its showing (starship::config): Unable to read config file content: stream did not contain valid UTF-8. please help
I copied your starship file and everythign went fine! Except for one thing: the icon for the file types. Any idea what could be going wrong? I am using powershell and using the "ls" command to list them. But it also did't worked on my ubuntu wsl2
The icons in the ls command don't come from starship, it's a separate application called "exa"
Hi cool!!! i can't find home and lock symbol? can you help me? many thanks
Could you tell me how to customize the file icons also
I've visited your repository named "dotfiles", but couldn't find any folder called "windows". Can you help me please? I'm looking for the file called "settings.json" for windows. Thank you.
Hey mate, I’ve split the repos. You find it in my „dotfiles-win“ now
@@christianlempa Thank you so much.
Thank You
You're welcome! :)
How do you make vscode show you the color square in the json?
Yo, could you please make example for fish how to add the automatically distro select and where to set the env?
Sry I’m not using fish :(
I would like to know how to install Arch with WSL. Could you share the guide to do that? Thanks
github.com/yuk7/ArchWSL
Great video i'm confused zshrc file , i didn't found it my windows...
which vs code theme are you using?
Very cool :)
Thanks :D
How awesome unfortunate though I really liked that purple and blue theme
How does he have those graphs in the Terminal? Are those Linux exclusive?
any alternatives of fish shell in windows?
How to open windows terminal in drop down style with tabs?
amazing
Thx :)
How to display character map like yours? My Character Map started from "charmap" command seems to be very dumb.
It’s a command in my dotfiles you can find on GitHub :)
Could you make a clear video tutorial to config this style of shells prompts ? Thanks in advance
What exactly are you looking for?
@@christianlempa I have a problem with the short name of Ubuntu on the Windows Terminal Tab, and other problem is when I run the Terminal Powershell in VS code, my current location and the word 'at' didn't have any spaces. Could you have any suggestions?
@@TVDramaHome same here any fixes ??
sorry to ask, why do u have at home via python v 3.10.1? should i change the parameters?
Don't know what you mean?
@@christianlempa i meant your working directory shows which version of python you are use, in the video it show that you are on home via python v 3.10.1.
The only customization I have in my terminal is the Terminus font, otherwise I have made functions that are loaded when opening PowerShell that shows some unicode icons, I need to give Terminal a try, I only use PS7
the icons won't show on my powershell. I tried changing the Nerd font as you had stated in a comment, but that didn't work. I use the windows character map as well and that didn't work either. Any solutions?
I have this, did you find a solution?
@@DonGerico yeah me too, do you have any idea
@@jnicotempest4827 +
It seems like NerdFonts have changed the pointers to all the icons from Material Theme (I.e. changed the 'locactions' of them in the fonts. Not sure why, but they had a note about it on their site and referred to the release notes. If you had some of the fonts installed from earlier, those changes are not implemented in the font, so they're pointing to the wrong location in the font table. I had a previously installed font that I used in VS Code and a newly installed font that I used in the Terminal, so they didn't match. Once I reinstalled the fonts, everything worked in both VS Code and the Terminal.
How do you type the arrows on the vscode? I see only uknown icon on vsocode even if I use git clone.... anyway great video amazing result!
Thanks, might be the case they're missing in your font?
@@christianlempa no idea maybe you could share with us a json of vscode or an easy tutorial keep up the good work
@@thanosarampatzis7164 Are you using the nerd-font as your vscode font as well? That should be the problem then. You can change it in the settings.
@@christianlempa The nerd font was typed wrong on the font family field! Thanks for your time. +1 from me
It's fantastic
Absolutely!
How to add the files-theme-xcad.xaml file to have as a theme choice option? How to change each system logo to black and white, the same as yours?
How can i get your json file now?
How do I find that wallpaper
Tnks....sobat itu betul banget.....
How to get my conda env to show up in this?