# Prompt configuration of zsh shell used by Mosh

**URL:** <https://forum.codewithmosh.com/t/prompt-configuration-of-zsh-shell-used-by-mosh/1434>\
**Category:** Uncategorized\
**Created:** [December 24, 2020, 8:23am UTC](https://forum.codewithmosh.com/t/prompt-configuration-of-zsh-shell-used-by-mosh/1434 "2020-12-24T08:23:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![icolumbro](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/icolumbro/32/458_2.png) [@icolumbro](https://forum.codewithmosh.com/u/icolumbro)\
**Post date:** [December 24, 2020, 8:23am UTC](https://forum.codewithmosh.com/t/prompt-configuration-of-zsh-shell-used-by-mosh/1434/1 "2020-12-24T08:23:11Z")

</div>

Hello, this is my first post, my name’s Ivan, I’m from Italy and for now I’m following Git course.

In that course Mosh uses zsh shell, I think he configured shell with Oh My Zsh! and Powerlevel10k theme; on my iMac and on my Linux PCs I use Oh My Zsh! with Powerlevel10k theme too but my prompt is different, does anyone know how to configure it the same as that used by Mosh? In particular I would be interested in coloring the different parts that form a command, for example: _git_ in green, _commit -m_ in white, _“Remove unused code.”_ in yellow.  
And what’s font does he use?

---

<div class="post-metadata">

**Author:** ![romka](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/romka/32/463_2.png) [@romka](https://forum.codewithmosh.com/u/romka)\
**Post date:** [December 25, 2020, 7:06am UTC](https://forum.codewithmosh.com/t/prompt-configuration-of-zsh-shell-used-by-mosh/1434/2 "2020-12-25T07:06:31Z")

</div>

What you are asking for is called syntax highlighting. To enable it, you need to install [https://github.com/zsh-users/zsh-syntax-highlighting](https://github.com/zsh-users/zsh-syntax-highlighting).

---

<div class="post-metadata">

**Author:** ![icolumbro](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/icolumbro/32/458_2.png) [@icolumbro](https://forum.codewithmosh.com/u/icolumbro)\
**Post date:** [December 25, 2020, 8:35am UTC](https://forum.codewithmosh.com/t/prompt-configuration-of-zsh-shell-used-by-mosh/1434/3 "2020-12-25T08:35:04Z")

</div>

Thank you very much and merry Christmas! 😃

---

<div class="post-metadata">

**Author:** ![MagicDude4Eva](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/magicdude4eva/32/524_2.png) [@MagicDude4Eva](https://forum.codewithmosh.com/u/MagicDude4Eva)\
**Post date:** [January 3, 2021, 9:55am UTC](https://forum.codewithmosh.com/t/prompt-configuration-of-zsh-shell-used-by-mosh/1434/4 "2021-01-03T09:55:51Z")

</div>

For anyone interested, I managed to get it close enough - I have uploaded my iTerm theme, fonts and powerlevel10k setup to Github: [https://github.com/magicdude4eva/dotfiles](https://github.com/magicdude4eva/dotfiles)

 ![image](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/1X/745218eab77c07ea56cead6341ac94eecfda2834.jpeg)
