X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=zsh%2Frc;h=9c0fc35f1835ddac5cf97cdef728251eb6608220;hb=8d5c8c523121a417e89ad3e2ab42a2df078620a1;hp=fb37a6a5ba0b0e58442e51eb2543af10d72fdfd3;hpb=ea83a5064cd887af82ffafe8767fcfb5682a371f;p=config%2Fdotfiles.git diff --git a/zsh/rc b/zsh/rc index fb37a6a..9c0fc35 100644 --- a/zsh/rc +++ b/zsh/rc @@ -84,6 +84,9 @@ setopt extendedglob # Don't exit if is pressed. setopt ignoreeof +# Autoload add-zsh-hook to add/remove zsh hook functions easily. +autoload -Uz add-zsh-hook + # If ^C is pressed while typing a command, add it to the history so it can be # easily retrieved later and then abort like ^C normally does. This is useful # when I want to abort an command to do something in between and then finish