Merge pull request #21 from lancatlin/fix-zsh-prompt

Fix zsh prompt
This commit is contained in:
Lin, Hung-Shin authored and GitHub committed 2023-08-26 12:42:15 +08:00
commit 10d1a728c6
1 file changed
+2 -2
+2 -2
View File
@@ -1,9 +1,9 @@
PROMPT='%n@%m:%~%# '
PROMPT='%F{2}%n%f:%F{6}%~%f $ '
unsetopt CASE_GLOB
setopt CHASE_LINKS
emulate bash
typeset -A cmd
set +o prompt_cr
preexec() {
export CMD_START_TIME=$(date +%s%N) # capture start time