summaryrefslogtreecommitdiff
path: root/functions/fish_prompt.fish
diff options
context:
space:
mode:
Diffstat (limited to 'functions/fish_prompt.fish')
-rw-r--r--functions/fish_prompt.fish7
1 files changed, 7 insertions, 0 deletions
diff --git a/functions/fish_prompt.fish b/functions/fish_prompt.fish
new file mode 100644
index 0000000..a61830a
--- /dev/null
+++ b/functions/fish_prompt.fish
@@ -0,0 +1,7 @@
+function fish_prompt
+ printf "\e[37m%s\e[38;5;123m%s" (hostname) (prompt_pwd)
+ if test $VIRTUAL_ENV
+ printf " \e[37m(%s)" (basename $VIRTUAL_ENV)
+ end
+ printf " \e[38;5;212m<3\e[0m "
+end