Color string in terminal in zsh
I'm trying to convert this string that I had in .bash_profile
PS1="\e[37;1m$ [\e[0m]"
to an equivalent string in .zprofile in zsh. I've read the guide in
wiki.archlinux.org/index.php/Zsh
but I actually didn't manage to understand the new syntax to color my terminal and, in my case, show the full path where I am actually working. I understand it's a trivial questions but also looking at related post I didn't manage to fix my issue. Any hint would be more than welcome :)
Thanks
Daniele
评论
?
参与讨论