Not for normies
| 1 | # *_prompt_info functions for usage in your prompt |
| 2 | # |
| 3 | # Plugin creators, please add your *_prompt_info function to the list |
| 4 | # of dummy implementations to help theme creators not receiving errors |
| 5 | # without the need of implementing conditional clauses. |
| 6 | # |
| 7 | # See also lib/bzr.zsh, lib/git.zsh and lib/nvm.zsh for |
| 8 | # git_prompt_info, bzr_prompt_info and nvm_prompt_info |
| 9 | |
| 10 | # Dummy implementations that return false to prevent command_not_found |
| 11 | # errors with themes, that implement these functions |
| 12 | # Real implementations will be used when the respective plugins are loaded |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 23 | |
| 24 | |
| 25 | |
| 26 | |
| 27 | |
| 28 | # oh-my-zsh supports an rvm prompt by default |
| 29 | # get the name of the rvm ruby version |
| 30 | |
| 31 | |
| 32 | |
| 33 | |
| 34 | |
| 35 | |
| 36 | |
| 37 | |
| 38 | ZSH_THEME_RVM_PROMPT_OPTIONS="i v g" |
| 39 | |
| 40 | |
| 41 | # use this to enable users to see their ruby version, no matter which |
| 42 | # version management system they use |
| 43 | |
| 44 | |
| 45 |