fix(shell/1password): source cache file after updating it

This commit is contained in:
2024-05-12 16:35:30 +01:00
parent 53052def08
commit f30c675f3b

View File

@@ -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