X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=zsh%2Frc;h=6348432fcd39c3cd2523cb81634171e9ed503918;hb=0c74b67f4bda341ac3430b8f6af51dc47439caba;hp=cbf880e5c5ae89f2a164bf723189997241dcb8be;hpb=a41a1bf8c3d79a651c235befadb84e6d559fb7c8;p=config%2Fdotfiles.git diff --git a/zsh/rc b/zsh/rc index cbf880e..6348432 100644 --- a/zsh/rc +++ b/zsh/rc @@ -40,7 +40,7 @@ setopt ignoreeof fpath=(~/.zsh/functions $fpath) # Autoload my functions (except completion functions and hidden files). Thanks # to caphuso from the Zsh example files for this idea. -autoload ${fpath[1]}/^_*(:t) +autoload ${fpath[1]}/^_*(^/:t) # Autoload add-zsh-hook to add/remove zsh hook functions easily. autoload -Uz add-zsh-hook