diff options
| author | Anton Bobov <anton@bobov.name> | 2024-04-28 21:48:54 +0500 |
|---|---|---|
| committer | Anton Bobov <anton@bobov.name> | 2024-05-18 00:34:30 +0500 |
| commit | 414e49a1d394d44b2972f30370849573b6ea093b (patch) | |
| tree | 5d3833ae079f874ace59c3733e933f51c891fc20 /files/.zsh/rc/S40_completion | |
| parent | ca139d29e90360333cd857cee0a82c751ad7db2d (diff) | |
[zsh] Updates
Diffstat (limited to 'files/.zsh/rc/S40_completion')
| -rw-r--r-- | files/.zsh/rc/S40_completion | 4 |
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 } |
