44
17
I have customized my ZSH prompt with oh-my-zsh to make it more readable and add information about git if I'm in a repository.
Example :
bob@inf [~/docs] %
bob@inf [~/src/nicest] master %
(in a git repository)
It works well but I have some bugs with tmux
and the window name. It still display non sense value and I cannot disable it with automatic-rename off
(it just do not work, the window name change after each command), for the first example tmux use ~/docs
for the window name.
I'm not sure how I can fix it, I would like to keep my zsh prompt as it is, if can make change but would like to understand where is the problem ?
Another solution may be to redefine command settile
(from this answer) but I'm not sure how to do it the right way.
Thank you thank you thank you thank you thank you thank you – Jezen Thomas – 2014-09-25T10:16:42.483
where is a
.zshrc
file for all users? – andilabs – 2015-01-16T09:02:46.1634This is such a perfect answer. Accurate, informative, concise and to the point. Moreover, it provides a solution in addition to answering the original question ("understanding where is the problem").It's only sad that whoever took the time to ask didn't bother marking this as the answer. – dmondark – 2013-03-05T06:03:35.153