about summary refs log tree commit diff
path: root/home/zsh/prompt.zsh
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-05-15 14:53:30 -0700
committerFranck Cuny <franck@fcuny.net>2022-05-15 14:53:30 -0700
commit52e42f959abb15e425b34ffbd31d7f32a6129636 (patch)
tree52f7d15a6f6ba821572629e2c28b1536d6c1752d /home/zsh/prompt.zsh
parenthome: run abcde in `~/import` (diff)
downloadworld-52e42f959abb15e425b34ffbd31d7f32a6129636.tar.gz
zsh: switch to zsh as the default shell
`zsh' is available everywhere and is compatible with bash. When using
`fish' I need to remember how to do things. While the completion style
is nicer, I don't care about the rest. I prefer to have a consistent
experience in the shell, no matter where am I.

This is an initial configuration, I might need to make a few changes as
I go.
Diffstat (limited to '')
-rw-r--r--home/zsh/prompt.zsh4
1 files changed, 4 insertions, 0 deletions
diff --git a/home/zsh/prompt.zsh b/home/zsh/prompt.zsh
new file mode 100644
index 0000000..1f92aa3
--- /dev/null
+++ b/home/zsh/prompt.zsh
@@ -0,0 +1,4 @@
+fg_green=$'%{\e[1;32m%}'
+fg_no_colour=$'%{\e[0m%}'
+
+PROMPT="%K{cyan}%F{black}%m%k%f ${fg_green}%~${fg_no_colour} %% "