summaryrefslogtreecommitdiff
path: root/.config/fisher/github.com/matchai/spacefish/functions/__sf_lib_section.fish
diff options
context:
space:
mode:
authorRoger Gonzalez <roger@rogs.me>2020-07-17 09:19:06 -0300
committerRoger Gonzalez <roger@rogs.me>2020-07-17 09:19:06 -0300
commit9fe9310ccf4971f0d1976f9bdaafd04a68ea314b (patch)
treeff1d5d677d5b3c33ac7eb6252029f2a9d165d9b3 /.config/fisher/github.com/matchai/spacefish/functions/__sf_lib_section.fish
parent743caecfc68bb6d28f8de2e80bce671e42601c6a (diff)
Deleted fisher stuff
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