Last active
May 5, 2023 15:25
-
-
Save furudean/ac1871632a67e10a222abe606f3b0e8f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # with https://github.com/acomagu/fish-async-prompt | |
| function fish_prompt_loading_indicator -a last_prompt | |
| set uncolored_last_prompt (echo -n $last_prompt | string replace -ra '\e\[[^m]*m' '' | string collect) | |
| echo -n (set_color brblack)"$uncolored_last_prompt"(set_color normal) | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment