It's a problem I met, for which I couldn't find a solution with googling, so I had to retreat to asking at IRC. In short, it's that the default Archlinux config shipped somewhere in /etc/ overwrites variables for runtime, i.e. one can't even overwrite them manually. I thought it would be useful to many others. Probably, it may cause problems not only with "oh-my-zsh", but I decided to put info in that paragraph because I'm not sure if there is a better place.
And sorry for html formatting, markup is pretty unusual, and the formatting page is surprisingly unhelpful. I.e. how to write a link I figured out only because I thought, perhaps wikipedia.org using the same markup formatting; which turned out to be right. Hi-Angel (talk) 10:23, 6 October 2016 (UTC)
- User's files are sourced after their system-wide counterparts (i.e.
~/.zshrcis sourced after
/etc/zsh/zshrc), so things set in
~/.zshrcshould normally not be undone by
/etc/zsh/zshrc. But I guess it's possible for
/etc/zsh/zshrcto define a function that changes
$PROMPTunder certain conditions. I probably shouldn't have called the content questionable.
- About formatting, start with Help:Editing then Help:Style, Help:Style/Formatting and punctuation and Help:Style/White space. There is also Help:Cheatsheet. -- nl6720 talk 10:48, 6 October 2016 (UTC)