aboutsummaryrefslogtreecommitdiffstats
path: root/fish/functions/fish_prompt.fish
diff options
context:
space:
mode:
Diffstat (limited to 'fish/functions/fish_prompt.fish')
-rw-r--r--fish/functions/fish_prompt.fish13
1 files changed, 13 insertions, 0 deletions
diff --git a/fish/functions/fish_prompt.fish b/fish/functions/fish_prompt.fish
new file mode 100644
index 0000000..57a3c21
--- /dev/null
+++ b/fish/functions/fish_prompt.fish
@@ -0,0 +1,13 @@
+# Defined in /tmp/fish.OarydH/fish_prompt.fish @ line 2
+function fish_prompt --description 'Write out the prompt'
+ if not set -q __fish_prompt_normal
+ set -g __fish_prompt_normal (set_color normal)
+ end
+
+ if not set -q __fish_prompt_cwd
+ set -g __fish_prompt_cwd (set_color $fish_color_cwd)
+ end
+
+ # echo -n -s "$USER" @ (prompt_hostname) ' ' "$__fish_prompt_cwd" (prompt_pwd) (__fish_vcs_prompt) "$__fish_prompt_normal" ' ' (task +in +PENDING count) '> '
+ echo -n -s "$USER" @ (prompt_hostname) ' ' "$__fish_prompt_cwd" (prompt_pwd) (__fish_vcs_prompt) "$__fish_prompt_normal"'> '
+end