Customizing your ZSH Prompt with Git Info

Published: 13 November 2017
on channel: The Modern Coder
41,395
641

On this episode of "Coding Tip of the Day" I explain the super simple process of displaying Git information in a ZSH prompt. ZShell (zsh for short) provides many niceties that bash doesn’t such as the vcs_info function that is used to bring in versioning control information and make it available as a variable for our custom prompt to display.

Check out Arjan’s article about advanced vcs_info techniques here: http://arjanvandergaag.nl/blog/custom...

My written article here: https://www.themoderncoder.com/add-gi...

MUSIC
Intro/outro music:   / dyallas  

MY TECH
2020 M1 MacBook Air (I have the 512GB variant): https://amzn.to/3TTIBsE
AirPods Pro: https://amzn.to/3sRLUo5
Gaming headset: https://amzn.to/3zwbT8i
Headphones (newer model): https://amzn.to/3Ub5reT
Keyboard: https://amzn.to/3FOOOC7
Mouse: https://amzn.to/3WhMFV9
Monitor: https://www.dell.com/en-us/work/shop/...
Monitor arm (newer model): https://amzn.to/3gXnlUa
Webcam: https://amzn.to/3zxxwp0

TECH ACCESSORIES
Laptop stand: https://amzn.to/3NuyqZ5
Mouse pad/mat: https://amzn.to/3U9QFVO
KVM switch: https://amzn.to/3gZmpP0
PC case: https://amzn.to/3Fx4Hg5
Under desk drawer: https://amzn.to/3WloFAo

VIDEO GEAR
Camera: https://amzn.to/3WkbiRe
Lens: https://amzn.to/3zxiTC4
Microphone: https://amzn.to/3SSUoWE
Main key light: https://amzn.to/3WhZbny
Secondary light: https://amzn.to/3fpRefx

^ Note for the Amazon links above: as an Amazon Associate I earn from qualifying purchases.

ABOUT ME
I'm a professional software engineer working at Amazon in New York City. I enjoy making videos about the tech industry so if you have a question please get in touch either through the comments or any of my socials and I'd be happy to help out. Thanks for checking out the channel!

FOLLOW ME
Website: https://www.themoderncoder.com
Twitter:   / themoderncoder  


Watch video Customizing your ZSH Prompt with Git Info online without registration, duration hours minute second in high quality. This video was added by user The Modern Coder 13 November 2017, don't forget to share it with your friends and acquaintances, it has been viewed on our site 41,395 once and liked it 641 people.