From a6b8df2a84bdfce153ba7f81cbe8ad85db435527 Mon Sep 17 00:00:00 2001 From: "flyingscorpio@arch-desktop" Date: Tue, 5 Oct 2021 23:14:57 +0200 Subject: [PATCH] zsh: do the same as for bash (remove symlinks) --- configs.yml | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/configs.yml b/configs.yml index 96d5195..fa30fb5 100644 --- a/configs.yml +++ b/configs.yml @@ -461,18 +461,14 @@ zsh: - zsh-autosuggestions - zsh-syntax-highlighting - zsh-theme-powerlevel10k - - symlink: - - dotfiles/zsh/zshrc - - ~/.zshrc - - symlink: - - dotfiles/zsh/zshenv - - ~/.zshenv - - symlink: - - dotfiles/zsh/zprofile - - ~/.zprofile - - symlink: - - dotfiles/zsh/p10k.zsh - - ~/.p10k.zsh + - run: + - content='. "$HOME"/setup-cockpit/dotfiles/zsh/zshrc'; grep "$content" "$HOME"/.zshrc >/dev/null 2>&1 || echo "$content" >> "$HOME"/.zshrc + - run: + - content='. "$HOME"/setup-cockpit/dotfiles/zsh/zshenv'; grep "$content" "$HOME"/.zshenv >/dev/null 2>&1 || echo "$content" >> "$HOME"/.zshenv + - run: + - content='. "$HOME"/setup-cockpit/dotfiles/zsh/zprofile'; grep "$content" "$HOME"/.zprofile >/dev/null 2>&1 || echo "$content" >> "$HOME"/.zprofile + - run: + - content='. "$HOME"/setup-cockpit/dotfiles/zsh/p10k.zsh'; grep "$content" "$HOME"/.p10k.zsh >/dev/null 2>&1 || echo "$content" >> "$HOME"/.p10k.zsh - clone: url: https://github.com/softmoth/zsh-vim-mode.git dest: ~/.git_clones/zsh-vim-mode