3 # Displays a zen quote from octocat
4 function display_octozen() {
5 curl -m 2 -fsL "https://api.github.com/octocat"
6 add-zsh-hook -d precmd display_octozen
9 # Display the octocat on the first precmd, after the whole starting process has finished
10 autoload -Uz add-zsh-hook
11 add-zsh-hook precmd display_octozen