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

Поділитися
Вставка
  • Опубліковано 7 жов 2024

КОМЕНТАРІ • 248

  • @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 3 роки тому +12

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

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

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

  • @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

  • @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 :)

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

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

  • @VidarrKerr
    @VidarrKerr 3 місяці тому

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

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

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

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

    ¡MASTERPIECE! 🏆

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

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

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

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

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

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

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

    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  2 роки тому +1

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

  • @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

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

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

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

    This video is just what I wanted-excellent!

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

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

  • @henniej.a.blanke6377
    @henniej.a.blanke6377 9 місяців тому

    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.

  • @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.

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

    An interesting shell and a comprehensive guide.

  • @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

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

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

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

    Fantastic Turorial, well done!

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

    Thank you for this amazing video!

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

    Thank you 🙏 Great video

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

    Many thanks for your presentation!

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

    you are doing great bro

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

    Terrific job! Thanks!

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

    Really well explained! Appreciate it!

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

    Love your tutorial sir!

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

    Wow...this is great

  • @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 🙂

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

    awesome video!!

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

    Nice! Learn something new, THANKS!!!

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

    Fantastic tutorial, thank you!

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

    great video , thanks for sharing.

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

    perfect. thank you, dude. appreciate it.

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

    Really helpful. Thanks!

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

    Amazing tutorial! thank you for your help.

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

    Great video. Thanks!

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

    This is nice. Thanks

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

    awesome!! thanks 👍

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

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

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

    Awesome !

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

    The best tutorial!

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

    Great Tutorial👍

  • @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 😂

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

    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 ).

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

    Nice one. Really helpful!

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

      Glad it was helpful!

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

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

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

      Thanks mate 😁

  • @buckleyYOU
    @buckleyYOU 3 роки тому +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  3 роки тому

      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*

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

    Great!

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

    thanks for the tutorial, Regards!!

  • @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 😁

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

    thank you my guy!

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

    flashig, danke man!

  • @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

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

    nice and great video , thank you very much

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

    Well done, ty.

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

    fantastic

  • @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

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

    Thank you so much

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

    Thank you very much..

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

    Danke

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

    woow just woow

  • @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 2 роки тому

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

  • @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 :)

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

    THANKS!!!!!

  • @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.

  • @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?

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

    Thank 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

  • @nuttchokwittaya8225
    @nuttchokwittaya8225 Рік тому +2

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

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

    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...

  • @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 ?

  • @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 👍

  • @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 ;)

  • @xhm0d
    @xhm0d 9 місяців тому

    Have your like, good sir

  • @bugbountyMKA
    @bugbountyMKA 10 місяців тому

    thnx you

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

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

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

    Danke

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

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

    thx

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

    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  3 роки тому +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 3 роки тому

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

  • @matteopiccioni196
    @matteopiccioni196 Рік тому +2

    that is awesome. But I found a bug, if you're using "terminal app" in Windows 11 (is the default terminal) there are some additional problems with the font, tough you install the font shown in the video or the Anonymice and you properly change the .JSON configuration file of the terminal, each time you will boot your machine the terminal won't recognise the font you specified in the "faceFont" section therefore you have to install every time the font itself is annoying but works.. changing shell and customize it is not a very good choice on wsl

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

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

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

    What a nice guy?

  • @JR-gy1lh
    @JR-gy1lh Рік тому

    Hi, which color needs to be changed so that symlink highlights don't hide the text color? When you do ls -al then you can't see the font of the symlink.

  • @rock_0075
    @rock_0075 8 місяців тому

    thanks for the video, is there a way to open WSL2 ubunutu the same directory when opening from the directory? it works for cmd but not for ubuntu any thoughts

  • @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 ?

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

    I recently switched from Mac to Windows and I really *love* what they've done with the Windows Terminal. I was afraid that I'll miss iterm, but this works great.
    Anyone knows if it's possible to make the command bar always stick to the bottom? Thanks!

  • @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.

  • @khilevietkhai6882
    @khilevietkhai6882 Місяць тому

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

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

    When i finish install indows terminal there is no ubuntu option. Pls help me:)

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

    how to install nerd fornt theme for vs code terminal

  • @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"

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

    It is an amazing tutorial. can I access mnt directory from windows? Thanks in advance.

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

      Thanks! yea you can open the path \\wsl$ and then go to the wsl root directory 😊

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

      ​@@christianlempa Thanks a lot😊😊

  • @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.

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

    So I used Nano to edit the file bit I think I did it wrong. Reinstalling Ubuntu to try it again...

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

    I love you