aboutsummaryrefslogtreecommitdiff
path: root/files/.zsh/rc/S40_completion
diff options
context:
space:
mode:
Diffstat (limited to 'files/.zsh/rc/S40_completion')
-rw-r--r--files/.zsh/rc/S40_completion4
1 files changed, 2 insertions, 2 deletions
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
}