Return Code symbol
This plugin will create a global variable that can be displayed in prompts.
PROMPT='$pr_return ...REST OF PROMPT'
This plugin is made to be fast. It runs in the background and updates information only when needed.
If you don’t use zpm, install it manually and activate it before this plugin.
If you use zpm you don’t need to do anything
~/.oh-my-zsh/custom/plugins
cd ~/.oh-my-zsh/custom/plugins
git clone https://github.com/zpm-zsh/pr-return
pr-return
to your oh-my-zsh plugins array.zgenom load zpm-zsh/pr-return
to your .zshrc
with your other pluginszgenom save
zpm load zpm-zsh/pr-return
into your .zshrc