]> arthur.barton.de Git - ax-zsh.git/commit
Refactor prompt functions
authorAlexander Barton <alex@barton.de>
Sun, 27 Sep 2015 17:34:18 +0000 (19:34 +0200)
committerAlexander Barton <alex@barton.de>
Sun, 27 Sep 2015 17:34:18 +0000 (19:34 +0200)
commitb51f608157ed9374fddc2df36fff5b5dc460992d
treec62c869643c7964953c6ff796c5eaef7b2bf328f
parent8025edd072ae031e2b80c4ad60e0f160d18314ac
Refactor prompt functions

- Initialize ax_*_prompt_functions arrays.
- ax_logname_prompt -> ax_logname_prompt_yn, return boolean.
- ax_hostname_prompt -> ax_hostname_prompt_yn, return boolean.
- ssh_logname_prompt -> _ax_ssh_logname_prompt, return boolean.
core/50_prompt/50_prompt.zshrc
default_plugins/prompt/prompt.zlogin
default_plugins/ssh/ssh.zshrc