Make your WSL or WSL2 terminal awesome - with Windows Terminal, zsh, oh-my-zsh and Powerlevel10k

Поділитися
Вставка
  • Опубліковано 15 січ 2025

КОМЕНТАРІ • 247

  • @christianlempa
    @christianlempa  3 роки тому +11

    I updated some stuff in my Windows Development Setup with WSL2, ZSH and some new color schemes + VSCode Setup: ua-cam.com/video/oF6gLyhQDdw/v-deo.html

  • @RaFaeLSanTaNaperfil
    @RaFaeLSanTaNaperfil 4 роки тому +12

    Hi I'm from Brazil. By far, it has the best content I've ever found, thanks and congratulation!

  • @SSSNIPD
    @SSSNIPD 4 роки тому +5

    This is the best WSL2 setup I have seen. Subscribed for the quality content. Keep it up!

  • @thonglevan4950
    @thonglevan4950 4 роки тому +3

    Grateful for your well-detailed instruction. It is appropriate for beginners like me.

  • @joshualloyd6694
    @joshualloyd6694 2 роки тому

    Im glad i came across your video and really wanted to thank you. I hope your chanel really blows up,

  • @VidarrKerr
    @VidarrKerr 6 місяців тому

    This is awesome, thank you for editing in the files!

  • @RomanPerepelitsa
    @RomanPerepelitsa 4 роки тому +13

    Great video!
    When `p10k configure` asks whether all icons fit between the crosses, you need to answer truthfully. In the video you said you can answer Yes or No and it won't make a difference. It will make a difference and it's fortunate that you've truthfully answered No (the icons didn't actually fit between the crosses). You can try running `p10k configure` again and seeing what happens if you answer Yes. This will tell the wizard that your terminal font is monospace when in fact it isn't. Powerlevel10k will generate prompt for a monospace font and you'll see weird artifacts. If you make the same choices as in the video, you'll see that slanted separators are broken and that some icons overlap or get truncated.
    It's the same with other questions that the wizard asks. Just answer truthfully. If you have to answer No to some question, it doesn't mean that something is broken. As long as you don't mislead Powerlevel10k, it'll give you functional prompt regardless of the font you are using.
    I also encourage you to give two-line prompt a try. It gives you more room for typing commands and all commands start from the same offset. It works really well when combined with Transient Prompt. If you use vi keymap, I recommend choosing prompt without left frame so that you get `prompt_char` on the second line on the left (it's shown as a green `❯` in the wizard). This symbol changes its shape depending on the current vi mode (insert, command, visual, etc.) and turns red on error.

    • @christianlempa
      @christianlempa  4 роки тому +2

      Thank's for letting me know. It's somehow weird and seems to be depended on the font you're using. You can even see it on Word or OneNote, too. The icons overlap with the rest of the text. However, I've seen that some Nerd Fonts will fit between the crosses but most of them don't. Although, I didn't recognized a difference, I believe you're right.
      Good suggestion with the two-lines, I'll try it out 😊

    • @RomanPerepelitsa
      @RomanPerepelitsa 4 роки тому +4

      ​@@christianlempa There are two variants of every font in the Nerd Fonts repository: one with "Mono" in its name, and one without. The font you've got is without "Mono". In this context mono means that all glyphs in the font fit within their designated boxes. Fonts without mono have glyphs that overflow to the next box. If you tell Powerlevel10k that your font is not mono, it'll insert extra spaces in a few places to give large icons more room and to avoid overlap.
      The downside of mono fonts is that icons in them are rather small. However, if you would install the recommended font from Powerlevel10k, you would find that it's mono (icons do fit between the crosses) and icons are fairly large (they are 44% larger than in mono variants of Nerd Fonts). That font also looks good, like most things made by Apple.

    • @christianlempa
      @christianlempa  4 роки тому +4

      Thank's for the detailed explanation, I've done some tests and confirmed what you're suggesting! Powerlevel10k is the best zsh theme I've seen so far, incredible job

  • @daniloespinozapino8848
    @daniloespinozapino8848 2 роки тому

    this is so good, my terminal looks so neat now and the autocomplete **kisses his hand like an italian**

  • @leonardoandrade9116
    @leonardoandrade9116 3 роки тому +1

    Thank you for this video man!! Excellent explanation and the customization was beautiful!! Greetings from Brazil!

  • @PlayRiteProductions
    @PlayRiteProductions 4 роки тому

    Been looking for a video like this for a long time. Thanks so much!

  • @DrEverythingBAlright
    @DrEverythingBAlright 4 роки тому

    This video is just what I wanted-excellent!

  • @r0bby99
    @r0bby99 7 місяців тому

    Thanks for sharing some tips on how to leverage plugins (and custom ones) in Oh My Zsh, Christian!

  • @AlanVideosHD
    @AlanVideosHD 3 роки тому +10

    ¡MASTERPIECE! 🏆

  • @CrazyFanaticMan
    @CrazyFanaticMan 3 роки тому

    Fantastic Turorial, well done!

  • @GorkemYildirim
    @GorkemYildirim 4 роки тому +1

    An interesting shell and a comprehensive guide.

  • @allanpgf
    @allanpgf 4 роки тому +1

    Awesome video! I followed the steps and everything is working fine and now I have a great linux bash on windows 10 #mindblowing

  • @SN_9813
    @SN_9813 3 роки тому

    I'm just disappointed that I can't like this video more than once.
    For almost 3 days now, I have been looking for a way to turn the Windows terminal into something I wanted it to be, but I was not successful until I finally found this video. Thank you so much for this great video

    • @christianlempa
      @christianlempa  3 роки тому +1

      That's a good reason to be disappointed 🤣 thank you so much!

  • @9eyes423
    @9eyes423 3 роки тому

    Excellent tutorial! It really motivated me to make wsl tylish. Thanks.

  • @cyberguide_in
    @cyberguide_in 4 роки тому

    Really well explained! Appreciate it!

  • @kulcsarrudolf17
    @kulcsarrudolf17 2 роки тому

    Thank you for this amazing video!

  • @vinothkumars7421
    @vinothkumars7421 3 роки тому

    Thanks mate. I was not able to display the icons in my terminal and now i can only because of you. Thanks a bunch.

    • @vinothkumars7421
      @vinothkumars7421 3 роки тому

      how can i get this terminal under vscode?

    • @christianlempa
      @christianlempa  3 роки тому +1

      You need to install the WSL2 extension and connect to the remote machine, and set the terminal executable in vscode to /bin/zsh :)

    • @vinothkumars7421
      @vinothkumars7421 3 роки тому

      @@christianlempa I had that already around 6 months back but not able to display the icons and fonts properly. Now I changed the font family to Nerd font and can able to get the terminal like you inside vscode Thanks again

  • @JeanFrancoCaringi
    @JeanFrancoCaringi 4 роки тому

    Terrific job! Thanks!

  • @truongngo6746
    @truongngo6746 3 роки тому

    Many thanks for your presentation!

  • @jackfrankmurphy
    @jackfrankmurphy Рік тому

    Thank you 🙏 Great video

  • @gifaralanshar3311
    @gifaralanshar3311 2 роки тому

    Love your tutorial sir!

  • @dmbacon86
    @dmbacon86 3 роки тому

    Fantastic tutorial, thank you!

  • @Muhammed-zn7ft
    @Muhammed-zn7ft 3 роки тому +1

    This is the best tutorial in this site. I watched it 3 times whenever I reinstall my dev env. I suggesting this to all my friends. Awesome :)

  • @nuttchokwittaya8225
    @nuttchokwittaya8225 2 роки тому +2

    I can't find the theme schema anymore, please advise.

  • @alexlerner8327
    @alexlerner8327 4 роки тому

    perfect. thank you, dude. appreciate it.

  • @henniej.a.blanke6377
    @henniej.a.blanke6377 Рік тому

    Hi Christian, nice tutorial. Just one thing I ran into: I don't if it's mentioned anywhere before, but I couldn't get WSL running at first, because in my BIOS Windows Virtualization was disabled. After enabling it, all worked fine.
    Also, Windows Terminal relies on the service "Touch Keyboard and Handwriting Panel Service"running. Make sure to check this as well.

  • @kamoteflavor
    @kamoteflavor 3 роки тому

    Nice! Learn something new, THANKS!!!

  • @hossainmahmoodtuhin8069
    @hossainmahmoodtuhin8069 3 роки тому

    Really helpful. Thanks!

  • @danielparedes172
    @danielparedes172 4 роки тому

    awesome!! thanks 👍

  • @mason8714
    @mason8714 4 роки тому +1

    Very good video. I always wanted to change the look of bash. - highly recommend people following the video to make your terminal look as good as Christians.

  • @bobdpa
    @bobdpa 4 роки тому

    Great video. Thanks!

  • @98toxic1
    @98toxic1 3 роки тому

    Amazing tutorial! thank you for your help.

  • @starash6770
    @starash6770 3 роки тому

    10:15 - Thats why I was thinking "Why am not getting icons", really thanks to youtube to show this video after 2 days 🙂

  • @kemaldursun8192
    @kemaldursun8192 2 роки тому

    you are doing great bro

  • @cuberos7430
    @cuberos7430 3 роки тому

    I novice with wsl ubuntu shells but you explained look very easy .Thanks a lot !

  • @nrohankar
    @nrohankar 4 роки тому

    Nice one. Really helpful!

    • @christianlempa
      @christianlempa  4 роки тому

      Glad it was helpful!

    • @nrohankar
      @nrohankar 3 роки тому

      @@christianlempa Hi, the updated themes are awesome. Thank you for sharing.

    • @christianlempa
      @christianlempa  3 роки тому

      Thanks mate 😁

  • @myself0883
    @myself0883 3 роки тому

    great video , thanks for sharing.

  • @Terzaghi12
    @Terzaghi12 4 роки тому +2

    thanks, now Windows Terminal looks decent

  • @cheesyfreak227
    @cheesyfreak227 3 роки тому +1

    Thank you for showing this!! Love it! Thanks Mate! I have just one question: Are you from Germany? :D

    • @christianlempa
      @christianlempa  3 роки тому +1

      Thanks, glad you liked it, and yea I'm from Germany 😁

    • @cheesyfreak227
      @cheesyfreak227 3 роки тому

      @@christianlempa Das dachte ich du hast so einen Akzent 😁

  • @dedpossum66
    @dedpossum66 3 роки тому

    Thank you for another useful video! I happened to find another one of your videos while trying to figure out what to do exactly about fonts :)
    For anybody doing this in 2021, there are now settings in wt.
    Also, I believe you can just 'source .zshrc' instead of reopening the terminal ( @9:29 ).

  • @tobechukwublessed4274
    @tobechukwublessed4274 2 роки тому

    Wow...this is great

  • @lukadjokovitch7040
    @lukadjokovitch7040 4 роки тому

    Nice video, thank you.

  • @walteralvarado9078
    @walteralvarado9078 3 роки тому +3

    HI FROM PERÚ, IT'S SO AMAZING!!!!!!!

  • @12qwasyxcv12
    @12qwasyxcv12 4 роки тому

    Great Tutorial👍

  • @chronosxtx
    @chronosxtx 2 роки тому +1

    Hey, I'm having a problem with the fonts not working. It says they're not valid, I've tried everything.

  • @ianhoskings1199
    @ianhoskings1199 3 роки тому

    Brilliant tutorial. Amazes me how people can vote it down. Great work.

    • @christianlempa
      @christianlempa  3 роки тому +1

      Haha thank's bro. Yea some people just don't like bald guys 😂

  • @linocesar6328
    @linocesar6328 3 роки тому

    thanks for the tutorial, Regards!!

  • @jerryyu9367
    @jerryyu9367 3 роки тому

    awesome video!!

  • @murtazavohra360
    @murtazavohra360 4 роки тому

    this is cool! Thanks

  • @jabranejabri3346
    @jabranejabri3346 3 роки тому

    nice and great video , thank you very much

  • @buckleyYOU
    @buckleyYOU 4 роки тому +3

    I was waiting for this. I've been using cmder on windows a long time but was always impressed with (oh-my-)zsh.
    Your walkthrough is amazing. Some little feedback on vim. People warned me about it and I think it justified as I got stuck the first 5 seconds :)
    Some notes so you can edit the file
    $ vim ~/.zshrc
    make the change
    press ESC
    press colon ":"
    type x and enter
    Thank you! Mabye a video or blog post on vim is a good idea?

    • @christianlempa
      @christianlempa  4 роки тому

      Thank you so much for the kind words :) And also thanks for the good suggestion about vim. I'm not quite sure how I should do this, because I'm not a vim expert and I usually don't make any modifications to it as other people do. Maybe it would be a good tutorial about the very beginner basics about vim, without any plugins or extensions. So I put that on my backlog *g*

  • @where9810
    @where9810 3 роки тому

    thank you my guy!

  • @yagnasivasai
    @yagnasivasai 4 роки тому

    Thank you very much..

  • @jeffersonsousa5354
    @jeffersonsousa5354 4 роки тому

    The best tutorial!

  • @ismailhannover
    @ismailhannover 3 роки тому

    flashig, danke man!

  • @shruh493
    @shruh493 4 роки тому

    Thank you so much

  • @jeancolombel4618
    @jeancolombel4618 3 роки тому

    Awesome !

  • @siscka1656
    @siscka1656 4 роки тому

    Well done, ty.

  • @davidkanai6944
    @davidkanai6944 3 роки тому

    fantastic

  • @totally_not_a_troll
    @totally_not_a_troll 3 роки тому +6

    I've did a very similar customization. Outside of the color scheme basically, but following different tutorial.
    For reasons unknown, for me, when entering any git repo of any sorts, ZHS simply became unbearably slow. But here I can see it working exactly as expected. I cannot fathom what I could have done to make it be so slow. I mean, a simple ls would take a good 5s for a response.
    Any known issues? Fixes? After some minor googling, I've seen several people complaining, but admitedly way too few for it to be a major issue 🤔
    EDIT:
    Did a complete uninstall of oh-my-zhs and zhs itself. Reinstalled exactly according to your video, and git repos are still very slow.

  • @fxmdr82
    @fxmdr82 2 роки тому

    Great!!!

  • @naveedzahoor1796
    @naveedzahoor1796 4 роки тому

    For the people who are directly installing it via WSL shell, right click on font file to install it and later on you can select font from properties.

    • @cuberos7430
      @cuberos7430 3 роки тому

      Hello man, I installed on windows terminal right ok but wsl dont have icons glygs .You can take more details about this
      Thanks 🤔

  • @PatrycjaBZalas
    @PatrycjaBZalas 2 роки тому

    Danke

  • @naimur634
    @naimur634 3 роки тому

    Thank you ..

  • @SoyOscarVenzor
    @SoyOscarVenzor 4 роки тому

    THANKS!!!!!

  • @lokesh3709
    @lokesh3709 3 роки тому +1

    Hey what was the thing on the top of your main OS? Like it had a start button, the process monitoring tools and stuff? How to get that, post a video on that or tell me the tool please!~

    • @christianlempa
      @christianlempa  3 роки тому

      This is rainmeter! You can find my theme and settings on my github repo: dotfiles ;)

  • @SyLLar12
    @SyLLar12 4 роки тому +1

    Your Windows desktop look great. How to make similar look ? Especially bar on top ?

    • @christianlempa
      @christianlempa  4 роки тому +5

      Thanks! :) The bar on the top is from Rainmeter which is similar to conky that exists for Linux. I probably will upload it on my dotfiles and make a short video about it.

    • @sayedmahmoud266
      @sayedmahmoud266 4 роки тому +1

      @@christianlempa waiting for this video

    • @TChrisBaker
      @TChrisBaker 4 роки тому

      @@christianlempa Thanks for mentioning Rainmeter. I got it working last night with your bar. It's so cool :)

  • @xhm0d
    @xhm0d Рік тому

    Have your like, good sir

  • @soulninjadev
    @soulninjadev 3 роки тому +1

    wow can u make a video on how to customize the windows desktop to look like urs

    • @christianlempa
      @christianlempa  3 роки тому +1

      Yea that's a good idea, I'll do that in the future :)

    • @soulninjadev
      @soulninjadev 3 роки тому

      @@christianlempa thank u 👍

  • @nmpai
    @nmpai 3 роки тому

    woow just woow

  • @cherifaly6757
    @cherifaly6757 Рік тому

    Great tutorial 🙂
    One quick question please.. What's the command line to display all themes? Like for example in powershell command-line is Get-poshthemes, what about WSL ?

  • @camjthompson12
    @camjthompson12 2 роки тому +2

    Great video! Big help. The only thing I found weird about my pk10 configure set up was that I never got the following screen choices: prompt separators (12:23 in video), prompt head (12:28 in video), prompt tails (12:30 in video), or the icons (12:47 in the video). A big reason I attempted to do this was the option to see those many icons.
    Has anyone had similar issues?

  • @hunterx_club
    @hunterx_club Рік тому

    thnx you

  • @MdShamimRahman
    @MdShamimRahman 4 роки тому

    Haven't found some windows super hacks in a while, I was dual booting only for bash/zsh, it's over I guess. Thank you

  • @dustinジ
    @dustinジ 3 роки тому

    Danke

  • @alexonjr9506
    @alexonjr9506 4 роки тому

    thx

  • @Tiaguex
    @Tiaguex 4 роки тому

    Awesome video my friend. My wsl looks awesome. Can you please!!! Please, tell us how to make mongodb work in wsl2?? Can't make it work no matter what I do...

  • @brittca
    @brittca 2 роки тому

    Hey, at 9:24 you say "lets write this file", how did you do that??? I'M a new Linux user and I'm completely stuck on the part where I add the theme to ZSH .zshrc file... how do I save my changes. I've closed the terminal window multiple times, and terminal just tells me this... and it's not saving the new theme.
    Swap file "~/.zshrc.swp" already exists!
    [O]pen Read-Only, (E)dit anyway, (R)ecover, (D)elete it, (Q)uit, (A)bort:
    Please help! thank you.

  • @shohanxrix
    @shohanxrix Рік тому

  • @mrmuranga
    @mrmuranga 3 роки тому +1

    Awesome article.Thanks
    Ran into problems trying to run some programs that i would previously launch automatically from bash...e.g jupyter notebook ....to fix this from the zsh new prompt type PATH=$PATH:~/.local/bin/
    Something else....before playing and making any changes on your windows terminal settings.json....please copy and paste them maybe on a notepad. This way if it doesn't work after making changes you can revert to previous working settings.json

  • @einadroj01
    @einadroj01 4 роки тому

    Great video my guy, learned a lot and was smooth to follow through.
    My windows terminal is working according to this guide but not for the Ubuntu App itself. The icons, color and font theme are not the same as the Windows Terminal. I'm thinking I should be installing the font in the Ubuntu App itself but I can't find a guide for it. Can you advise? Thanks!

    • @christianlempa
      @christianlempa  4 роки тому +1

      Thanks man 😊, well that's unfortunatly a limitation by the Ubuntu app itself, therefore I don't use it instead windows terminal

    • @einadroj01
      @einadroj01 4 роки тому

      @@christianlempa welp, I'm happy with the way my terminal is working already, thanks to you! Much appreciated!! 🙏🏼

  • @gauravsrivastava17
    @gauravsrivastava17 3 роки тому

    Everything worked expect colour scheme I don't know why but other things seems good

    • @christianlempa
      @christianlempa  3 роки тому

      Hmm no idea, maybe check out our Discord and share some details. People might be able to help you

  • @mister-ace
    @mister-ace 3 роки тому

    hey, how can I change my os_icon (ubuntu icon)?? I have already tried many settings but without success

  • @ronemchowry180
    @ronemchowry180 2 роки тому

    how to install nerd fornt theme for vs code terminal

  • @tridibbiswas3361
    @tridibbiswas3361 4 роки тому

    Hi, Thank you for the video. Have installed using Ubuntu on WSL2 on Windows Terminal with zsh using your instruction. But I find that there is gap on the right hand side, bottom of the screen and the zsh screen does not cover the entire terminal window edge to edge. How could we fix this. Is there something I am missing

    • @christianlempa
      @christianlempa  4 роки тому

      Maybe this is the padding of windows terminal. On my github config file I've set this to 0 I believe.

    • @tridibbiswas3361
      @tridibbiswas3361 4 роки тому

      @@christianlempa Thank you for your reply. Have tried there seems to no change

  • @francootaola9172
    @francootaola9172 Рік тому

    Hello, I have an issue with this, when I right click in a folder and choose open terminal here my Ubuntu 22.04 opens in the root folder instead of the current folder. By any chance do you know how to solve this problem ?

  • @armandochindoy2729
    @armandochindoy2729 4 роки тому

    What a nice guy?

  • @s_e_s_h981
    @s_e_s_h981 4 роки тому

    is it Possible to change the terminals Cursor??? can i get code for it!

  • @hackyfunky2875
    @hackyfunky2875 Рік тому

    i cannot open setting in word as json file ? i cannot even see any such option while clicking on setting ?

    • @PiyushBhakat
      @PiyushBhakat Рік тому +1

      On the left bottom corner you can see the option as "Open JSON File"

  • @TwstedTV
    @TwstedTV 3 роки тому

    Do you have a Windows PowerShell version. for those who dont have or don't want WSL installed... thanks :)

    • @christianlempa
      @christianlempa  3 роки тому

      Not yet, I know there are similar themes existing for powershell, but since I rarely use it, I haven't covered it, yet.

  • @FearfulDarknessTTV
    @FearfulDarknessTTV 4 роки тому

    My zsh won’t let me change the them, or anything in the folder

    • @christianlempa
      @christianlempa  4 роки тому

      Check the oh-my-zsh forums or post some of the details in our discord, maybe we can help you ;)

  • @shambhaviaggarwal9977
    @shambhaviaggarwal9977 4 роки тому

    Most of the icons were question marks so now my terminal does not have icons at all. what should I do?

    • @christianlempa
      @christianlempa  4 роки тому

      I would check if you're using the right font in windows terminal. Check all the steps provided in this video, hope this helps

  • @khilevietkhai6882
    @khilevietkhai6882 4 місяці тому

    how to delete it when i dont want use it keep on

  • @CookieMonsteeerrr
    @CookieMonsteeerrr 3 роки тому

    How to keep history of opened tabs on next terminal run? Moreover is it possible being on same tab to split diffrent terminals and not only one type?

    • @christianlempa
      @christianlempa  3 роки тому

      I'm using history files in zsh, which helps me. You can also configure Windows Terminal to open the same tabs on the next start up

    • @CookieMonsteeerrr
      @CookieMonsteeerrr 3 роки тому

      @@christianlempa how to tell wt to remember the tabs?

  • @pastorcortesosorno2382
    @pastorcortesosorno2382 3 роки тому

    I followed the instructions, I installed the fonts but I don't see the glyphs (like for example when being inside a folder which is a GIT repo) in my terminal, why is that?

    • @christianlempa
      @christianlempa  3 роки тому

      That can happen with some specific fonts, try another one.

  • @Akwjbwbqm
    @Akwjbwbqm 5 місяців тому

    did anyone here manage to find the settings he made available on Windows Scheme? i looked on his github but it's no longer there. Minute 15:00

    • @christianlempa
      @christianlempa  5 місяців тому

      It’s now in a different repo dotfiles-win