mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
patch prompt a bit
This commit is contained in:
parent
76db45d0c2
commit
48a4e3f8ec
1 changed files with 6 additions and 0 deletions
|
@ -8,3 +8,9 @@ configure_dircolors() {
|
|||
}
|
||||
|
||||
configure_dircolors
|
||||
|
||||
# This ugly hack is required only for the agnoster theme which I use. I'm
|
||||
# probably going to switch to another theme because it is so damn slow
|
||||
autoload -Uz add-zsh-hook
|
||||
_patch-prompt() { PROMPT="$PROMPT"$'\n%{%F{247}%}\u03bb>%{%b%f%} '; }
|
||||
add-zsh-hook precmd _patch-prompt
|
||||
|
|
Loading…
Reference in a new issue