How to Customize Zsh Command Prompt Text

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

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

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

    this is the video I am searching for several months. Now I don't need iterm2 any more. Thanks a lot

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

      You’re welcome! Happy you found the video 😁

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

    Thank you, Adam, that's exactly what I was looking for. I really enjoy your teaching style. It's straight to the point and well presented.

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

      Thank you for the wonderful feedback! 😁 I’m glad you enjoyed the tutorial!

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

    Very detailed video. Everything is broken down and is perfectly explained. Nice work.

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

      Thank you! I really appreciate the feedback! Specially when it’s positive 😁

  • @alicefraser5799
    @alicefraser5799 ปีที่แล้ว +5

    Perfect! Exactly what I was looking for, and straight to the point. Thank you :)

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

      You’re welcome! Happy the tutorial helped!

  • @LogicalWrld
    @LogicalWrld 6 หลายเดือนก่อน +2

    Thank you so much for the video! It was very informational and now my terminal makes me look like an expert!!

    • @CodingWithAdam
      @CodingWithAdam  6 หลายเดือนก่อน +1

      You’re welcome! Glad your terminal looks awesome!

  • @moniregar1
    @moniregar1 8 หลายเดือนก่อน +2

    Thank you so much for such a clear explanation! I love my new terminal

    • @CodingWithAdam
      @CodingWithAdam  8 หลายเดือนก่อน +1

      Thank you for the wonderful feedback 😁
      You’re welcome, I’m glad the video helped you make your terminal awesome!

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

    Thanks for the video! Was super helpful walkthrough and explanation of how to change command prompt on the terminal. I've been looking for a comprehensive video for a while and this was pretty great. If you had another step further, as far as how to add a more designed highlight etc, and maybe even icons, that would be awesome! Great work though!

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

      You're Welcome! I"m really glad you enjoyed the video. Thank you for the suggestions.

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

      @@CodingWithAdam Absolutely!

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

    I really appreciate this video! REALLY helpful and thorough! THAN YOU!

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

      You’re welcome! I’m really glad the video was helpful! 😁

  • @andrew.schaeffer4032
    @andrew.schaeffer4032 2 ปีที่แล้ว +3

    This was very practical and helpful. Thanks!

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

      You’re welcome! Happy the video helped!

  • @devtommie114
    @devtommie114 7 หลายเดือนก่อน +2

    wow just upgraded my zsh

    • @CodingWithAdam
      @CodingWithAdam  7 หลายเดือนก่อน +1

      Awesome, glad the video helped!

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

    thank you for sharing this! it helps me a lot!🥰

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

      You’re welcome! I’m happy the video has helped! 😁

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

    very clear explanation ,thanks !

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

    Clear explaination !
    But how do you down the full path, rather than just current directory?

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

      Thank you!
      To put a full path you can use %d instead of %1~

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

    Awesome Video...loved the detailing....

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

      Thank you! I’m glad you enjoyed the video!

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

    That was what I wanted to know the most!

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

      Awesome, I"m happy the video helped!!! 😃

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

    Thanks this was super helpful!

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

      You’re welcome! I’m happy the video was helpful 😀

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

    Loved this video is awesome! What font are you using for your terminal?

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

      Thank you! The font I'm using is Andale Mono. I'm also using the HomeBrew profile which I think might set that font by default when it is selected..

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

      @@CodingWithAdam Thank you! I couldn’t find it on HomeBrew settings. But I found this video extremely helpful and straight to the point. Thank you for sharing, keep up the great job!

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

      Thank you I appreciate the feedback 😁 I’m really glad the video was helpful!

  • @keithbertschin1213
    @keithbertschin1213 5 หลายเดือนก่อน +2

    awesome thanks. all killer

    • @CodingWithAdam
      @CodingWithAdam  5 หลายเดือนก่อน +2

      You're welcome! Glad you enjoyed the video

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

    very useful, thank you

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

    Thanks for the lesson. It was cool. Can you make a video for bash as well?

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

      You’re welcome! Thank you for the suggestion.

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

    This was great! I'm curious as to how you would go about customizing actual command colors and underlining. For instance ping could be underlined and a different color than other commands. I noticed that when I switched to zsh from bash that all of my commands are just straight white or green depending on the theme I select.

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

      Thank you! Glad you enjoyed the video. That’s a really great question. I’m not sure how individual commands could be themed. I have not used this yet but hear oh my zsh takes customization to another level. ohmyz.sh/

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

    Hi! Thanks for ur video. I only have one question, do u know if we can change the color of an executed program on the terminal? Sorry if my question isnt clear or dumb, im just starting!!

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

    3:44 the "changing tilda to "HOME"" didn't work for me... does anyone know how to change "~" symbol to "HOME" or is this not a possibility?

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

    Hey,it would be cool if you also show us how to change the font style :D

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

      Thank you for the suggestion. For font style I have normally just changed it globally in the preferences of the terminal. I’m not sure if ps1 or prompt have an option for font you can however underline bold etc parts of the prompt text

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

      @@CodingWithAdam how to change it globally

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

      It depends on the shell you are using. These are the instructions for Mac support.apple.com/en-ca/guide/terminal/trmltxt/mac#:~:text=Use%20Text%20settings%20in%20Terminal,a%20profile%2C%20then%20click%20Text.

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

    Thank you for the Video !! Even though I failed to go through it all...
    The "visual studio code" is not working on my computer, I do not manadge to open the .zshrc file... Is there any prior stuff to do in order to be able to use the code command?
    Thank in advance

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

      okay, i just used 'open' instead and it worked out ! THIS IS AMAAAAAZING, I LOVE THAT ! BIG THANK

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

      You're welcome. Glad you got it working. To use the code command at the terminal you need to install the shell commands. Here are the instructions for mac but very similar on windows. code.visualstudio.com/docs/setup/mac#_launching-from-the-command-line

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

      Awesome thanks! 😁

  • @Kevin-bl3ke
    @Kevin-bl3ke วันที่ผ่านมา

    Will this work on alpine Linux on iOS?

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

    We need this for powershell!

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

    I just started coding and I’m so confused. I can’t get this to work

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

      Sorry to hear that. Keep at it, some topics can be difficult.

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

    How I change username interminal on vscode

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

    I have powerlevel10k and this doesn't work.

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

    hi adam. I am Andi. I need your help about terminal and file zshrc on my Macbook. have you ig for get in touch?

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

    This is not showing terminal preferences

  • @khanhuzaif4986
    @khanhuzaif4986 8 หลายเดือนก่อน

    how can i change color for shell cursor selection ?