From f30c675f3b5cebd6a0b58be3905425e50d1b4ba3 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Sun, 12 May 2024 16:35:30 +0100 Subject: [PATCH] fix(shell/1password): source cache file after updating it --- zsh/1password.zsh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zsh/1password.zsh b/zsh/1password.zsh index 7a4b404..78ff869 100644 --- a/zsh/1password.zsh +++ b/zsh/1password.zsh @@ -80,6 +80,8 @@ setup_op_shell_plugins_using_functions() { echo -e "unalias ${alias_name}" echo -e "${alias_name}() {\n ${command} \"\$@\"\n}" done <<< "$aliases" > "$cache_file" + + source "$cache_file" } # Setup 1Password CLI shell plugin integration with custom function that makes