From 1cf948885a166c5d3e746b0b1321429b188dfbed Mon Sep 17 00:00:00 2001 From: murgi Date: Tue, 5 Aug 2025 09:56:03 +0200 Subject: [PATCH] [ZSH] Temporarily create nvim shared config file --- .gitignore | 1 + nvim/.shared_config | 0 zsh/.zshrc | 5 +++++ 3 files changed, 6 insertions(+) delete mode 100644 nvim/.shared_config diff --git a/.gitignore b/.gitignore index ed97d19..824a6db 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ *.swp +.shared_config tags .DS_STORE __pycache__ diff --git a/nvim/.shared_config b/nvim/.shared_config deleted file mode 100644 index e69de29..0000000 diff --git a/zsh/.zshrc b/zsh/.zshrc index 8c8a594..7b538f5 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -1,5 +1,6 @@ export PATH="/snap/bin:$HOME/.local/bin:$HOME/dotfiles/scripts:$PATH" export XDG_CONFIG_HOME="$HOME/.config" # Fix nvim bug + [[ -z $SSH_AUTH_SOCK ]] || export FORWARD_SOCK=$SSH_AUTH_SOCK [[ -f ~/.zsh/.powerline_config ]] && source ~/.zsh/.powerline_config @@ -14,6 +15,10 @@ else shared_config=0 fi +if [[ -f ~/.zsh/.shared_config ]] ; then + touch ~/.config/nvim/.shared_config +fi + # Load Antidote mkdir -p ${ZDOTDIR:-~}/.cache/zsh static_file=${ZDOTDIR:-~}/.cache/zsh/.zsh_plugins.zsh