axemoji: Show host name in root prompts
Refactor "root prompt" handling, don't show root "logname" by default But still enable it for the axemoji theme, so no functional changes.
Refactoring: Use "axzsh_" prefix (instead of "ax_") for all functions & variables New function names: - axzsh_hostname_prompt_root() - axzsh_hostname_prompt_yn() - axzsh_logname_prompt_root() - axzsh_logname_prompt_yn() - axzsh_plugin_fnc() - axzsh_plugin_init() - axzsh_prompt() - axzsh_vcs_prompt() - _axzsh_ssh_prompt() New array names: - axzsh_hostname_prompt_functions - axzsh_logname_prompt_functions - axzsh_vcs_prompt_functions
Fix axzsh_is_widechar_terminal() logic axzsh_is_widechar_terminal() returns 0 when the terminal CAN'T display wiede characters in multiple columns, and non-null, when the terminal CAN display wide characters. Fix themes accordingly.
axemoji: Use nicer emoji for righthand error notice
Add and streamline comments for prompt variables
axemoji.axzshtheme: Set PS4 like the "ax" theme does
Implement new axzsh_is_widechar_terminal() function This function tries to detect if the current terminal can display "wide characters" or not. Idea: <https://unix.stackexchange.com/questions/184345/detect-how-much-of-unicode-my-terminal-supports-even-through-screen> At the moment, this function is used by the "axemoji" theme and the default "right side error prompt" to not use wide characters that would destroy the layout of the terminal used.
axemoji.axzshtheme: Disable it on incompatible terminals Disable it on Hyper (https://hyper.is) for now.
axemoji.axzshtheme: Fix wording of a file comment Thanks Götz!
axemoji.axzshtheme: Fix spacing in RPS1
axemoji.axzshtheme: Respect emoji spacing for RPS1, too
axemoji.axzshtheme: No spacing needed on VTE-based terminals
axemojy.axzshtheme: Add support for "~/.system_emoji" file And enhance the support for non-UTF8 terminals.
New "axemoji" theme