fix install-hooks for tmux and zsh
This commit is contained in:
parent
ed9c18f116
commit
048eb314e6
@ -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
|
||||
@ -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
|
||||
Loading…
x
Reference in New Issue
Block a user