From 22b16ea1be796f3e5eee877b60712839c36eaf1c Mon Sep 17 00:00:00 2001 From: Daniel Lynn Date: Mon, 27 Feb 2023 19:06:48 -0600 Subject: [PATCH] Commit chpwd hooks once on shell init --- zshrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zshrc b/zshrc index de2dbb5..03aad33 100644 --- a/zshrc +++ b/zshrc @@ -115,6 +115,8 @@ if (( $+commands[zellij] )); then } chpwd_functions+=( zellij_chpwd_hook ) + + zellij_chpwd_hook fi fi @@ -127,6 +129,8 @@ if (( $+commands[gh] )); then } chpwd_functions+=( gh_chpwd_hook ) + + gh_chpwd_hook fi # Source machine-specific setup