From 048eb314e63caf9a3f146630c862ad2299443273 Mon Sep 17 00:00:00 2001 From: thek4n Date: Thu, 23 May 2024 16:07:13 +0300 Subject: [PATCH] fix install-hooks for tmux and zsh --- install-hooks/tmux/post-install | 4 ++-- install-hooks/zsh/post-install | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/install-hooks/tmux/post-install b/install-hooks/tmux/post-install index 4e7a117..3fdca5f 100755 --- a/install-hooks/tmux/post-install +++ b/install-hooks/tmux/post-install @@ -1,4 +1,4 @@ #!/usr/bin/env bash -command -v systemctl && systemctl --user enable --now tmux -git clone https://github.com/tmux-plugins/tpm "$HOME/.config/tmux/plugins/tpm" \ No newline at end of file +command -v systemctl >/dev/null && systemctl --user enable --now tmux +git clone https://github.com/tmux-plugins/tpm "$HOME/.config/tmux/plugins/tpm" | true \ No newline at end of file diff --git a/install-hooks/zsh/post-install b/install-hooks/zsh/post-install index 3470fd4..07cf0f4 100755 --- a/install-hooks/zsh/post-install +++ b/install-hooks/zsh/post-install @@ -1,5 +1,5 @@ #!/usr/bin/env zsh -for zfile in .zshenv .config/zsh/.zshrc .config/zsh/.zprofile .config/zsh/.zlogout .config/zsh/aliases .config/zsh/completion .config/zsh/history .config/zsh/options .config/zsh/other .config/zsh/plugin .config/zsh/prompt .config/zsh/sourcer; do +for zfile in .zshenv .config/zsh/.zshrc .config/zsh/.zprofile .config/zsh/.zlogout .config/zsh/aliases .config/zsh/completion .config/zsh/history .config/zsh/options .config/zsh/other .config/zsh/plugin .config/zsh/calculator .config/zsh/prompt .config/zsh/sourcer; do zcompile "$HOME/$zfile" -done +done \ No newline at end of file