From efb336a23b65a9a2d56889396b13c1757bdaf354 Mon Sep 17 00:00:00 2001 From: Roger Gonzalez Date: Sun, 29 Dec 2019 14:58:33 -0300 Subject: Initial commit --- .../matchai/spacefish/fish_right_prompt.fish | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .config/fisher/github.com/matchai/spacefish/fish_right_prompt.fish (limited to '.config/fisher/github.com/matchai/spacefish/fish_right_prompt.fish') diff --git a/.config/fisher/github.com/matchai/spacefish/fish_right_prompt.fish b/.config/fisher/github.com/matchai/spacefish/fish_right_prompt.fish new file mode 100644 index 00000000..e9ab4922 --- /dev/null +++ b/.config/fisher/github.com/matchai/spacefish/fish_right_prompt.fish @@ -0,0 +1,19 @@ +function fish_right_prompt + + # ------------------------------------------------------------------------------ + # Configuration + # ------------------------------------------------------------------------------ + + __sf_util_set_default SPACEFISH_RPROMPT_ORDER "" + + # ------------------------------------------------------------------------------ + # Sections + # ------------------------------------------------------------------------------ + + [ -n "$SPACEFISH_RPROMPT_ORDER" ]; or return + + for i in $SPACEFISH_RPROMPT_ORDER + eval __sf_section_$i + end + set_color normal +end -- cgit v1.2.3