fix install-hooks for tmux and zsh

This commit is contained in:
thek4n 2024-05-23 16:07:13 +03:00
parent ed9c18f116
commit 048eb314e6
2 changed files with 4 additions and 4 deletions

View File

@ -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"
command -v systemctl >/dev/null && systemctl --user enable --now tmux
git clone https://github.com/tmux-plugins/tpm "$HOME/.config/tmux/plugins/tpm" | true

View File

@ -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