summaryrefslogtreecommitdiff
path: root/.config/fisher/github.com/matchai/spacefish/fish_prompt.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/fish_prompt.fish
parent743caecfc68bb6d28f8de2e80bce671e42601c6a (diff)
Deleted fisher stuff
Diffstat (limited to '.config/fisher/github.com/matchai/spacefish/fish_prompt.fish')
-rw-r--r--.config/fisher/github.com/matchai/spacefish/fish_prompt.fish33
1 files changed, 0 insertions, 33 deletions
diff --git a/.config/fisher/github.com/matchai/spacefish/fish_prompt.fish b/.config/fisher/github.com/matchai/spacefish/fish_prompt.fish
deleted file mode 100644
index dd9a6b0a..00000000
--- a/.config/fisher/github.com/matchai/spacefish/fish_prompt.fish
+++ /dev/null
@@ -1,33 +0,0 @@
-function fish_prompt
- # Store the exit code of the last command
- set -g sf_exit_code $status
- set -g SPACEFISH_VERSION 2.6.1
-
- # ------------------------------------------------------------------------------
- # Configuration
- # ------------------------------------------------------------------------------
-
- __sf_util_set_default SPACEFISH_PROMPT_ADD_NEWLINE true
- __sf_util_set_default SPACEFISH_PROMPT_FIRST_PREFIX_SHOW false
- __sf_util_set_default SPACEFISH_PROMPT_PREFIXES_SHOW true
- __sf_util_set_default SPACEFISH_PROMPT_SUFFIXES_SHOW true
- __sf_util_set_default SPACEFISH_PROMPT_DEFAULT_PREFIX "via "
- __sf_util_set_default SPACEFISH_PROMPT_DEFAULT_SUFFIX " "
- __sf_util_set_default SPACEFISH_PROMPT_ORDER time user dir host git package node ruby golang php rust haskell julia elixir docker aws venv conda pyenv dotnet kubecontext exec_time line_sep battery vi_mode jobs exit_code char
-
- # ------------------------------------------------------------------------------
- # Sections
- # ------------------------------------------------------------------------------
-
- # Keep track of whether the prompt has already been opened
- set -g sf_prompt_opened $SPACEFISH_PROMPT_FIRST_PREFIX_SHOW
-
- if test "$SPACEFISH_PROMPT_ADD_NEWLINE" = "true"
- echo
- end
-
- for i in $SPACEFISH_PROMPT_ORDER
- eval __sf_section_$i
- end
- set_color normal
-end