summaryrefslogtreecommitdiff
path: root/.config/fisher/github.com/matchai/spacefish/functions/__sf_lib_section.fish
diff options
context:
space:
mode:
Diffstat (limited to '.config/fisher/github.com/matchai/spacefish/functions/__sf_lib_section.fish')
-rw-r--r--.config/fisher/github.com/matchai/spacefish/functions/__sf_lib_section.fish28
1 files changed, 0 insertions, 28 deletions
diff --git a/.config/fisher/github.com/matchai/spacefish/functions/__sf_lib_section.fish b/.config/fisher/github.com/matchai/spacefish/functions/__sf_lib_section.fish
deleted file mode 100644
index 819b68ff..00000000
--- a/.config/fisher/github.com/matchai/spacefish/functions/__sf_lib_section.fish
+++ /dev/null
@@ -1,28 +0,0 @@
-function __sf_lib_section -a color prefix content suffix
- # If there are only 2 args, they are $content and $prefix
- if test (count $argv) -eq 2
- set content $argv[2]
- set prefix
- end
-
- if test "$sf_prompt_opened" = "true" -a "$SPACEFISH_PROMPT_PREFIXES_SHOW" = "true"
- # Echo prefixes in bold white
- set_color --bold
- echo -e -n -s $prefix
- set_color normal
- end
-
- # Set the prompt as having been opened
- set -g sf_prompt_opened true
-
- set_color --bold $color
- echo -e -n $content
- set_color normal
-
- if test "$SPACEFISH_PROMPT_SUFFIXES_SHOW" = "true"
- # Echo suffixes in bold white
- set_color --bold
- echo -e -n -s $suffix
- set_color normal
- end
-end