my xfce4 dotfiles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
328 B

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