From 414e49a1d394d44b2972f30370849573b6ea093b Mon Sep 17 00:00:00 2001 From: Anton Bobov Date: Sun, 28 Apr 2024 21:48:54 +0500 Subject: [zsh] Updates --- files/.zsh/rc/S40_completion | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'files/.zsh/rc/S40_completion') diff --git a/files/.zsh/rc/S40_completion b/files/.zsh/rc/S40_completion index 3b55381..1af4e70 100644 --- a/files/.zsh/rc/S40_completion +++ b/files/.zsh/rc/S40_completion @@ -55,9 +55,9 @@ __load_or_generate() { if ! command -v "$1" >/dev/null ; then return fi - local target_file="/home/anton/.zsh/zsh-completions-cached/_$1" - local generate_command="$2" + local target_file="$HOME/.zsh/zsh-completions-cached/_$1" if [ ! -f "$target_file" ] ; then + local generate_command="$2" eval "$generate_command" > "$target_file" fi } -- cgit v1.2.3