From 58f9f1832f53c08daddd35588cdbfb4df279e3b8 Mon Sep 17 00:00:00 2001 From: Fabian Ising Date: Wed, 7 Aug 2024 12:42:04 +0200 Subject: [PATCH] [ZSH] Autoupdate antidote, scp hoss completion --- zsh/.zshrc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/zsh/.zshrc b/zsh/.zshrc index f84ea98..a9dea5a 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -1,12 +1,12 @@ # Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc. # Initialization code that may require console input (password prompts, [y/n] # confirmations, etc.) must go above this block; everything else may go below. - [[ -f ~/.zsh/.powerline_config ]] && source ~/.zsh/.powerline_config [[ -f ~/.zsh/.user_config ]] && source ~/.zsh/.user_config [[ -f ~/.zsh/.virtual_env_config.zsh ]] && source ~/.zsh/.virtual_env_config.zsh [[ -f ~/.zsh/.local_config ]] && source ~/.zsh/.local_config + # Load Antidote mkdir -p ${ZDOTDIR:-~}/.cache/zsh static_file=${ZDOTDIR:-~}/.cache/zsh/.zsh_plugins.zsh @@ -16,8 +16,8 @@ if ! [[ -e ${ZDOTDIR:-~}/.antidote ]]; then git clone https://github.com/mattmc3/antidote.git ${ZDOTDIR:-~}/.antidote fi -#zstyle ':omz:plugins:docker' legacy-completion yes zstyle ':completion:*:ssh:*' hosts off +zstyle ':completion:*:scp:*' hosts off # source antidote and load plugins from `${ZDOTDIR:-~}/.zsh_plugins.txt` source ${ZDOTDIR:-~}/.antidote/antidote.zsh antidote load ${plugins_txt} ${static_file} @@ -80,3 +80,4 @@ alias screenshot_mode_off='prompt_powerlevel9k_setup; python3 ~/.config/alacritt export LANG="en_US.UTF-8" export LC_CTYPE="en_US.UTF-8" export TIME_STYLE="long-iso" +antidote update &> /dev/null &|