Commit 1d052809 authored by Martin Janů's avatar Martin Janů 🌱
Browse files

Use zle to highlight shell commands.

parent 43344515
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -77,7 +77,8 @@ workingdir="%~"
gitbranch="%{$fg[yellow]%}\$vcs_info_msg_0_%{$reset_color%}"
promptsymb="%{$fg_bold[$usercolor]%}λ%{$reset_color%}"

PS1="$username@$hostname $workingdir$gitbranch$promptsymb "
PROMPT="$username@$hostname $workingdir$gitbranch$promptsymb "
zle_highlight=(default:bold)

# git integration
zstyle ':vcs_info:git:*' formats ' %b%f '