1
0
Fork 0
mirror of https://github.com/zdharma-continuum/zinit-configs.git synced 2025-01-31 04:08:16 +01:00
zinit-configs/NICHOLAS85/zinit/snippets/config/patches/zsh-edit.patch
vladislav doster 92f7b7ff82
maint: normalize configuration file names to be "zshrc" (#11)
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-06-04 07:40:14 -05:00

14 lines
469 B
Diff

Fix autoloading with Zinit, remove cdpath hook
--- marlonrichert---zsh-edit/zsh-edit.plugin.zsh 2020-11-24 14:57:14.225191357 -0500
+++ marlonrichert---zsh-edit/zsh-edit.plugin.zsh-patch 2020-11-24 15:01:38.468808641 -0500
@@ -6,9 +6,7 @@
local fdir=${${(%):-%x}:A:h}/functions
typeset -gU FPATH fpath=( $fdir $fpath )
- autoload -Uz add-zsh-hook $fdir/_*~*.zwc
-
- add-zsh-hook chpwd _cdpath
+ autoload -Uz add-zsh-hook $fdir/_*~*.zwc(.:t)
local widget