How to spice up your Linux (Ubuntu) terminal prompt (using powerlevel10k and oh-my-zsh) in 2021

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ธ.ค. 2024

ความคิดเห็น • 160

  • @adrianrodriguez9089
    @adrianrodriguez9089 ปีที่แล้ว +8

    I was having a hard time customizing my terminal... This video saved me.
    Congrats for this great content.

  • @stackdevlopr
    @stackdevlopr 9 หลายเดือนก่อน +2

    Very nicely explained, great job!
    It is mentioned somewhere below in the comments, however for those who missed it or can't find it:
    if you don't get the diamond shape at the start of the design/config, this means there is a font conflict and this will also impact the rest of the design/config.
    SOLUTION:
    1. go the 'terminal preferences'
    2. select the current profile on the left panel
    3. under the 'Text' tab, uncheck 'custom font' and close 'terminal preferences'
    4. restart the design/config with the command 'p10k config'... now you'll get the diamond shape and the exact design as shown in this video (IF you've got the rest right)

  • @tonymarsh4258
    @tonymarsh4258 3 ปีที่แล้ว +7

    Thank you! now looking at my terminal I feel much comfortable

  • @aniketjain895
    @aniketjain895 3 ปีที่แล้ว +15

    Thanks a ton for this man, I know the pain. Peace brother.

  • @MarcMcRae
    @MarcMcRae ปีที่แล้ว +1

    This is a REAL winner..saved me so much messing around already, with some other confusing instructions (missing). Thank you for sharing.

  • @usmanyousaaf
    @usmanyousaaf 2 ปีที่แล้ว +1

    11:05 the option is not coming a i quit but when i restart the pc is works

  • @josecastellanos4836
    @josecastellanos4836 2 ปีที่แล้ว +2

    works fine with those fonts, I had this issue during long time, even zsh worked good but icons isn't. Thanks

  • @aram5642
    @aram5642 2 ปีที่แล้ว

    And one more thing, and one more thing, and one more thing... It's a sick adventure. Why can't it be made simpler?... Thanks for this video, man.

  • @lorePGmvv
    @lorePGmvv 11 หลายเดือนก่อน +1

    thaks i'ts work on me. i succed chage my terminal and looks great 👍

  • @mattpeter3819
    @mattpeter3819 2 ปีที่แล้ว +1

    Great video, just FYI the gnome-tweak is deb and gnome-tweak-tool works for fedora

  • @nanjisorathia7085
    @nanjisorathia7085 3 ปีที่แล้ว +2

    as per video at 10:23 using "gedit ~/.zshrc"
    other file is opening for me which is starting with.
    # Set up the prompt
    autoload -Uz promptinit
    promptinit
    prompt adam1

  • @namenotavailable9989
    @namenotavailable9989 2 ปีที่แล้ว +1

    Thank you so much for this. This is awesome. Worked the first time.

  • @akira_asahi
    @akira_asahi 2 ปีที่แล้ว

    Thank you for the video. I am gratuful for your time and contribution. Kind regards, Akira.

  • @buihoangminh6011
    @buihoangminh6011 4 หลายเดือนก่อน

    my zsh is so ridiculus. it only appear with my_username and a '%' sign. then i change again to bash then done.!

  • @akshaywale5180
    @akshaywale5180 6 หลายเดือนก่อน

    I have got some wrong settings while adding sharp and round how to recorrect it

  • @shubham-ej9xp
    @shubham-ej9xp ปีที่แล้ว

    Terminal modification worked smoothly, but icons in VS code terminal aren't working properly, how can I fix that?

  • @PabloLeon-Rodenas
    @PabloLeon-Rodenas ปีที่แล้ว

    Thank you Muhammad for this great tutorial, easy to install zshell following your video

  • @matematicaconsentido11235
    @matematicaconsentido11235 3 ปีที่แล้ว +9

    Hello Muhammad, my terminal now looks pretty awesome but i opened my vscode editor and there looks not so good, any ideas on what i can do so that it looks the same as in terminal? it changed when i did the installion process you recommended. Thanks a lot for any help!

    • @MuhammadbinYusrat
      @MuhammadbinYusrat  3 ปีที่แล้ว +6

      Hi Guillermo,
      I personally use WebStorm for the most part, but I do remember swapping VS Code's console font to MesloLGS to fix the issue there. Simply search for "Console Font" or "Terminal Font" in VS Code's setting and you should be able to find it.

    • @matematicaconsentido11235
      @matematicaconsentido11235 3 ปีที่แล้ว +1

      @@MuhammadbinYusrat Thanks a lot!

    • @ayyubs_mind
      @ayyubs_mind ปีที่แล้ว

      I fix it

  • @rishiyadav5362
    @rishiyadav5362 2 ปีที่แล้ว +1

    Hello sir I had followed exact same but my terminal don't showing icons and sharp corners nor the icons please help me someone I'm messed up

    • @MuhammadbinYusrat
      @MuhammadbinYusrat  2 ปีที่แล้ว +1

      It seems you selected ascii instead of utf8. Just run `p10k configure` again and remember to select Unicode instead of ascii.

    • @rishiyadav5362
      @rishiyadav5362 2 ปีที่แล้ว +1

      @@MuhammadbinYusrat thanks sir it helps but issue with my system was that I have to restart it for showing fonts in tweak panel then I have to apply fonts and it worked proplery

  • @user-mgcxl
    @user-mgcxl ปีที่แล้ว

    How to re-configure the display style?
    Run to generate a new ~/.p10k.zsh. The old config may work incorrectly with the new font.

  • @fazlayrabby3709
    @fazlayrabby3709 2 ปีที่แล้ว

    Can I re-edit the theme? found it... just run p10k configure

  • @manavgkrishna4766
    @manavgkrishna4766 ปีที่แล้ว

    Can the same be done on kali too? The same way.... Im not getting the Tweaks application

  • @abhirajshourya
    @abhirajshourya 2 ปีที่แล้ว +2

    Thanks mate, this made my life easier :D

  • @donepuchie4909
    @donepuchie4909 3 หลายเดือนก่อน

    my terminal started to repeat the icons when i clicked on minimize and full screen at intervals. this was after i tried to use the sf mono font. anyhow i can fix this pls? great video anyways!

  • @itisdawning
    @itisdawning 3 ปีที่แล้ว +4

    How to re-configure the design settings?

    • @MuhammadbinYusrat
      @MuhammadbinYusrat  3 ปีที่แล้ว +7

      You can type p10k configure

    • @itisdawning
      @itisdawning 3 ปีที่แล้ว +1

      @@MuhammadbinYusrat Oh thank you :)

  • @varma4726
    @varma4726 9 หลายเดือนก่อน

    I already setup but i need to edit How to open again setup

  • @syedashiqbd
    @syedashiqbd 2 ปีที่แล้ว

    Thanks a lot for your lot of efforts in this regard.

  • @its4zahoor
    @its4zahoor 3 ปีที่แล้ว +1

    Thanks a bunch. But after installing zsh and oh-my-zsh. All my working commands show "zsh: command not found node/yarn" etc

    • @MuhammadbinYusrat
      @MuhammadbinYusrat  3 ปีที่แล้ว +1

      Yes, that is because they were probably Installed using node version manager. You can just add something like "source ~/.bashrc" at the end of your zshrc file and it "should" in theory fix the errors.

    • @its4zahoor
      @its4zahoor 3 ปีที่แล้ว

      @@MuhammadbinYusrat your guess is right about nvm, but I try the theoretical fix and let you know.

  • @SCUBAguypnw
    @SCUBAguypnw 2 ปีที่แล้ว +1

    Thank you very much for the video! Helped a ton. Terminal looks great!

  • @dwightmartin354
    @dwightmartin354 3 ปีที่แล้ว

    Does this work for RHEL 8.4 ?? i'm getting errors whenever I ran the command >> sudo dnf install gnome-tweaks

  • @inzamamulhaqueashique3461
    @inzamamulhaqueashique3461 2 ปีที่แล้ว +2

    Thank you very much for the video! Helped a ton. Terminal looks great!🙂

    • @dGhost101
      @dGhost101 2 ปีที่แล้ว

      mine also i am using this terminal in linux mint

  • @fazlayrabby3709
    @fazlayrabby3709 2 ปีที่แล้ว

    can you please make a video on how to customize the visual studio code terminal on ubuntu?

  • @LLlblKAPHO
    @LLlblKAPHO ปีที่แล้ว

    why some PATH dont work after this?

  • @johnsantacruz6214
    @johnsantacruz6214 3 ปีที่แล้ว +1

    Hi, very usefull video tutorial.
    Thanks
    Muhammad bin Yusrat.
    I follow the tutorial by SSH connection. But i can't change the font by command. Can you help me please.
    I don't have a GUI for using the gnome-tweaks tool

    • @MuhammadbinYusrat
      @MuhammadbinYusrat  2 ปีที่แล้ว

      Hi, if you want to change the font, you will have to do it on the client machine, not the SSH server. I assume you're only going to be using this terminal remotely, correct?

  • @PabloInfanteP
    @PabloInfanteP ปีที่แล้ว +1

    Thank you veru much, this is that I looking for

  • @samrathossain6822
    @samrathossain6822 9 หลายเดือนก่อน

    Thanks for this great customization tutorial

  • @TheArkangel8000
    @TheArkangel8000 2 ปีที่แล้ว +1

    Thank you! This tutorial is very useful to me ✌

  • @Arabsecurity491
    @Arabsecurity491 2 หลายเดือนก่อน

    how can i rest it

  • @bilalyusrat
    @bilalyusrat 3 ปีที่แล้ว +1

    How to install Ubuntu??

  • @lafayetzhou8902
    @lafayetzhou8902 2 ปีที่แล้ว

    thanks for your sharing, could you make old bash file covert to ne zsh file?

  • @jai4859
    @jai4859 2 ปีที่แล้ว

    I followed the same step, but no logo or share edges, did not prompt with those options

  • @razvannechifor365
    @razvannechifor365 2 ปีที่แล้ว

    Thank you very much for the video this is really easy to fallow

  • @sonle23-j2d
    @sonle23-j2d 2 ปีที่แล้ว

    How to remove background green folder ubuntu ?

  • @sandamalgamage1242
    @sandamalgamage1242 2 ปีที่แล้ว +1

    Thank you, dear.

  • @Jeffrey7P
    @Jeffrey7P 3 ปีที่แล้ว

    I'm getting separator issues, they're only displaying symbols :/ looking online and can't find a source of fix. Great video tho!

    • @MuhammadbinYusrat
      @MuhammadbinYusrat  3 ปีที่แล้ว +3

      Make sure you choose Unicode in the wizard. You can start that wizard again by writing p10k configure

    • @Jeffrey7P
      @Jeffrey7P 3 ปีที่แล้ว

      @@MuhammadbinYusrat I did, the issue was installing powerline fonts and setting the terminal font. But then got roadblocked by another issue where there were gaps between the triangles and found out there is no fix to this, unless there are some changes on UTS-8 locale, and I'd rather not go too far just to change the gap. Thanks for the help tho!

  • @reisaki18
    @reisaki18 3 ปีที่แล้ว

    I installed gnome-twaks but it doesn't show at all

    • @MuhammadbinYusrat
      @MuhammadbinYusrat  3 ปีที่แล้ว

      Which Ubuntu are you running? Can you share your output of gnome tweaks install command?

    • @reisaki18
      @reisaki18 3 ปีที่แล้ว

      @@MuhammadbinYusrat I'm using linux mint xfce4. After rebooting, gnome tweaks overrides my login window, mouse behavior, terminal, task manager, a lot of ubuntu-apps etc. i didn't notice it installed 600mb packages .They are hidden and can only access via terminal. I had to roll back using timeshift to be honest.

    • @reisaki18
      @reisaki18 3 ปีที่แล้ว

      @@MuhammadbinYusrat lesson learned..
      don't always put -y when installing package

    • @MuhammadbinYusrat
      @MuhammadbinYusrat  3 ปีที่แล้ว

      Yes of course. You're on xfce, and the name of the package is 'gnome tweaks' 😀
      You could probably get away with changing terminal font only and that would have probably been enough.

  • @Jishnu8270
    @Jishnu8270 2 ปีที่แล้ว

    How to get old terminal back

    • @MuhammadbinYusrat
      @MuhammadbinYusrat  2 ปีที่แล้ว

      Enter chsh in terminal, and after entering password, enter /bin/bash

  • @zall1126
    @zall1126 3 ปีที่แล้ว

    does anyone knows how to make colored command after you've installed all of these?
    I mean now any valid command like ls will not be colored anybody knows how to make it colored?

    • @MuhammadbinYusrat
      @MuhammadbinYusrat  3 ปีที่แล้ว

      For me ls is colored. You need to have different files with different permissions to see the colors.

    • @ShrirajHegde
      @ShrirajHegde 3 ปีที่แล้ว

      zsh-syntax-highlighting

    • @ShrirajHegde
      @ShrirajHegde 3 ปีที่แล้ว

      If you are talking about about colours in ls and grep, it's done by aliases.
      Open bashrc and copy the aliases defined there to zshrc

  • @kingsud0659
    @kingsud0659 2 ปีที่แล้ว +1

    I can't use your fonts

    • @da0789x
      @da0789x 2 ปีที่แล้ว

      me too

  • @zscoder
    @zscoder 2 ปีที่แล้ว +1

    Thank you for this video. Do you know what might cause icons to be small? Also how do you check which version of icons your system is using? I tried to install nerd font and follow your steps but getting abnormallly small icons 😢

    • @MuhammadbinYusrat
      @MuhammadbinYusrat  2 ปีที่แล้ว +1

      Probably your font size is small. Use MesloLGS NF Regular, thats the one I use. It works just fine.

    • @zscoder
      @zscoder 2 ปีที่แล้ว +1

      @@MuhammadbinYusrat thank you was able to solve my issue

  • @Benyad23q
    @Benyad23q ปีที่แล้ว +1

    jazakallah khair brother

  • @albourchi
    @albourchi ปีที่แล้ว +1

    thanks many sweet stuff very helpful

  • @JarppaGuru
    @JarppaGuru 2 ปีที่แล้ว

    you not need install curl you can wget. you not need install tweaks you can go terminal preferences and create custom profile and change font.
    you not need zsh as default oh my zsh ask it
    you not need reboot just exec zsh

    • @MuhammadbinYusrat
      @MuhammadbinYusrat  2 ปีที่แล้ว

      Curl is a useful utility anyway. If you create custom profile would it change the fonts for other terminals as well? Like built in terminals in IDEs? I think changing default monospace font would take care of that as well. Yes about zsh I didn't know if oh my zsh installs it automatically or not. But running 'exec zsh' is going to simply run it without forking the process.. how is that an alternative of running it as the default shell?

    • @victusraiton
      @victusraiton 11 หลายเดือนก่อน

      Hey how can I modify my customization ​@@MuhammadbinYusrat

  • @blackbird1852
    @blackbird1852 2 ปีที่แล้ว

    How to go back to the selection page ?

  • @cibulis5347
    @cibulis5347 ปีที่แล้ว

    Thanks. Great video. Helped a lot

  • @jamesdietsch7868
    @jamesdietsch7868 3 ปีที่แล้ว +1

    Brilliant! Just subscribed 🙂

  • @burnwalsourabh
    @burnwalsourabh 2 ปีที่แล้ว

    Hey
    After following all the steps, I am getting only ~ without any icons. I couldn't see any icons while configuring too, selected the options likewise. It doesn't look like yours. I'm on ubuntu 20.04 gnome. How can I get the icons as well.

    • @MuhammadbinYusrat
      @MuhammadbinYusrat  2 ปีที่แล้ว +1

      You might have to check the font being used by the terminal app itself. Make sure it's not using custom font. Just uncheck the custom font check box somewhere in the gnome terminal settings and you should be fine.

  • @mohammedshahed5051
    @mohammedshahed5051 2 ปีที่แล้ว

    The fonts didnt work for
    me

    • @MuhammadbinYusrat
      @MuhammadbinYusrat  2 ปีที่แล้ว

      Which Linux are you using?

    • @mohammedshahed5051
      @mohammedshahed5051 2 ปีที่แล้ว

      @@MuhammadbinYusrat ubuntu now working fixed it tq for your care and support

  • @anton-r
    @anton-r 3 ปีที่แล้ว

    was looking for this a lot super tnx

  • @ogabek6873
    @ogabek6873 3 ปีที่แล้ว +1

    Your best fun from Uzbekistan

  • @matematicaconsentido11235
    @matematicaconsentido11235 3 ปีที่แล้ว +1

    Really cool. Thanks a lot!

  • @_manish519
    @_manish519 3 ปีที่แล้ว

    Sir, everything worked fine but even after changing VS code terminal font to powerline font the VS code terminal looks messed up. The letters are widely spaced :( Please help.

  • @bonovox86
    @bonovox86 2 ปีที่แล้ว

    this is awesome, thank you so much!

  • @IamJamesA
    @IamJamesA ปีที่แล้ว +1

    A huge thx brother o/

  • @Frostbyte-Game-Studio
    @Frostbyte-Game-Studio 2 ปีที่แล้ว

    that's awesome thanks for this video

  • @mdahanaf
    @mdahanaf 2 ปีที่แล้ว

    Thank you very much brother.

  • @sarefeen
    @sarefeen 3 ปีที่แล้ว +1

    thank you great tutorial peace ma man

  • @AbdelrahmanSameeh
    @AbdelrahmanSameeh ปีที่แล้ว

    Great work ✨

  • @sandeshsahuu
    @sandeshsahuu 2 ปีที่แล้ว

    hey how to edit this i forget to remove that timezone?

    • @MuhammadbinYusrat
      @MuhammadbinYusrat  2 ปีที่แล้ว

      You can type `p10k configure` to see the wizard again.

  • @alwaisy
    @alwaisy ปีที่แล้ว

    Thanks, you saved ny time.

  • @goldboolean6819
    @goldboolean6819 9 หลายเดือนก่อน

    this is a killah tut!

  • @qgom3s
    @qgom3s 2 ปีที่แล้ว +1

    Thanks dude!🖖

  • @FFelesar
    @FFelesar 3 ปีที่แล้ว

    Thank you for the video

  • @bilalyusrat
    @bilalyusrat 3 ปีที่แล้ว +1

    Thanks a million.

  • @vaibhav.rajpute
    @vaibhav.rajpute 3 ปีที่แล้ว +1

    Very helpful

  • @nkwetachaterence
    @nkwetachaterence ปีที่แล้ว

    Thank you it helped.

  • @greatmasterboy2008
    @greatmasterboy2008 2 ปีที่แล้ว +1

    legend!!!

  • @nemodot
    @nemodot 3 ปีที่แล้ว

    So cool, thanks!

  • @MrThierriOliveira
    @MrThierriOliveira 3 ปีที่แล้ว

    Nice Video Thanks!

  • @deniskim402
    @deniskim402 2 ปีที่แล้ว

    Thank you soo much!

  • @sagarpaul07
    @sagarpaul07 2 ปีที่แล้ว

    thanks man it worked

  • @SohelRana-hi7ec
    @SohelRana-hi7ec 2 ปีที่แล้ว

    Thanks a lot.

  • @jahidhassan4558
    @jahidhassan4558 2 ปีที่แล้ว

    Thanks brother

  • @analog6359
    @analog6359 3 ปีที่แล้ว

    thanks a lot brother

  • @deucesdyuseu7950
    @deucesdyuseu7950 2 ปีที่แล้ว

    Thanks mate.

  • @alikaram98
    @alikaram98 2 ปีที่แล้ว

    thanks bro
    so good

  • @tomasmatusek6292
    @tomasmatusek6292 2 ปีที่แล้ว

    Thank you,.

  • @SamSepiol127
    @SamSepiol127 2 ปีที่แล้ว

    Thankyou🙏🏻

  • @MasudRana-nx4rf
    @MasudRana-nx4rf 2 ปีที่แล้ว

    Thank you.

  • @bogdanz5810
    @bogdanz5810 2 ปีที่แล้ว

    thx for guide

  • @Abbatyya
    @Abbatyya 2 ปีที่แล้ว

    Thanks you bro

  • @ogabek6873
    @ogabek6873 3 ปีที่แล้ว

    Nice

  • @jaimeberruetediaz1280
    @jaimeberruetediaz1280 2 ปีที่แล้ว

    You could have prepared the video before configure all with errors. That made us to loose time.

    • @MuhammadbinYusrat
      @MuhammadbinYusrat  2 ปีที่แล้ว +2

      If I configured before I would have not faced the same issue that the viewer would face. If I tried before, then most packages would already be installed in my computer and people watching could potentially be confused about not having everything in their machine.

    • @ayyubs_mind
      @ayyubs_mind ปีที่แล้ว

      @@MuhammadbinYusrat YES, I love your video. other videos have no errors but I can't do it myself. because I have some error bugs...
      Thank you, brother :)

  • @mohamedabdiahmmed
    @mohamedabdiahmmed 2 ปีที่แล้ว +1

    thanks ya muhammad

  • @krishshah3974
    @krishshah3974 2 ปีที่แล้ว

    yo pog

  • @HousseinDroubi-o9i
    @HousseinDroubi-o9i 7 หลายเดือนก่อน

    Hey

  • @BlueyTheProtogen
    @BlueyTheProtogen 2 ปีที่แล้ว +1

    I use ohmybash cause I hate zsh

  • @rajkiranchaudhary8769
    @rajkiranchaudhary8769 ปีที่แล้ว

    Quite helpful .. Thanks

  • @emiliano_sunshine2392
    @emiliano_sunshine2392 2 ปีที่แล้ว

    ☀you're the best ☀

  • @user-mgcxl
    @user-mgcxl ปีที่แล้ว

    # To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
    [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh