Skip to content

v2.2.0: Support dynamic content for right prompt

Choose a tag to compare

@edouard-lopez edouard-lopez released this 03 Nov 15:46
· 668 commits to master since this release

♻️ Refactor: Support dynamic content for right prompt

The pure_right_prompt parameter is removed in favor of native fish_right_prompt mechanism.

⬇️ Installation

fisher add rafaelrinaldi/pure

⏫ Migrate Guide

Existing Config

If you already had a configured right prompt via pure_right_prompt parameter, you can create the necessary new config using this command:

echo "function fish_right_prompt; echo \"$pure_right_prompt\"; end" > $__fish_config_dir/functions/fish_right_prompt.fish

New Config

Create fish_right_prompt.fish in fish config functions/ directory manually and declare a fish_right_prompt function inside.