Adds the status of Salesforce DX projects to your fish prompt. Compatible with other prompts, e.g. Pure.
- Copy
_prompt_sfdx.fish
to~/.config/fish/functions/
- If you are using Pure prompt: Copy
fish_prompt.fish_pure
to~/.config/fish/functions/
and rename tofish_prompt.fish
(replace existing file, backup before) - If you are using bobthefish prompt: Copy
fish_prompt.fish_bobthefish
to~/.config/fish/functions/
and rename tofish_prompt.fish
(replace existing file, backup before) - If you are using any other prompt or the default fish prompt: Put
echo -e -n (_prompt_sfdx)
wherever you would like to see the output in~/.config/fish/functions/fish_prompt.fish
- If you are using Nerd Fonts, set
set -g nerdFonts no
toset -g nerdFonts yes
in_prompt_sfdx.fish
(recommended e.g. for bobthefish)
Note You may also modify fish_prompt.fish
instead of replacing it.
- Simply open any directory that contains a
.force
folder and watch your prompt change
Note The iTerm2 status bar component at the bottom can be found here.
Please see the contribution guidelines.
- 0.1.0 (2020-02-19)
- Initial release