Skip to content

Commit

Permalink
Merge pull request #2 from chocoelho/patch-1
Browse files Browse the repository at this point in the history
Autoload add-zsh-hook prior to call it
  • Loading branch information
victorfsf authored Nov 17, 2018
2 parents 957dba5 + 13debdb commit 32dca1b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions guri.zsh-theme
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,8 @@ guri-ret-status() {
echo "%(?:%{$fg_bold[green]%}$GURI_PROMPT_SYMBOL:%{$fg_bold[red]%}$GURI_PROMPT_SYMBOL) "
}

autoload -Uz add-zsh-hook

add-zsh-hook chpwd guri-run-dotfile
add-zsh-hook precmd guri-venv-indicator

Expand Down

0 comments on commit 32dca1b

Please sign in to comment.