mirror of
https://github.com/zdharma-continuum/zinit-configs.git
synced 2025-01-31 04:08:16 +01:00
92f7b7ff82
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
14 lines
469 B
Diff
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
|
|
|