From 689412b4745f576eb3c15b5ab9b6eadde267a048 Mon Sep 17 00:00:00 2001 From: Fabian Ising Date: Mon, 4 Aug 2025 11:47:52 +0200 Subject: [PATCH] [ZSH] Add completion rehash --- zsh/.zshrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zsh/.zshrc b/zsh/.zshrc index e768bd7..8c8a594 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -33,7 +33,10 @@ fi #zstyle ':omz:plugins:docker' legacy-completion yes zstyle ':completion:*:ssh:*' hosts off +zstyle ':completion:*:scp:*' hosts off +# Run rehash for external commands +zstyle ":completion:*:commands" rehash 1 # source antidote and load plugins from `${ZDOTDIR:-~}/.zsh_plugins.txt` source ${ZDOTDIR:-~}/.antidote/antidote.zsh antidote load ${plugins_txt} ${static_file}