add auto install tmux

This commit is contained in:
Yuan Chiu 2025-06-02 03:08:18 +08:00
parent e325f56b75
commit a718e133ff
Signed by: yuan
GPG Key ID: 50FBE4156404B98D
2 changed files with 9 additions and 0 deletions

View File

@ -24,6 +24,7 @@ brews = [
'java', 'java',
'jstkdng/programs/ueberzugpp', 'jstkdng/programs/ueberzugpp',
'macism', 'macism',
'tmux',
'htop', 'htop',
'bmon', 'bmon',
] ]
@ -50,6 +51,7 @@ apt = [
'ueberzug', 'ueberzug',
'ripgrep', 'ripgrep',
'tree-sitter-cli', 'tree-sitter-cli',
'tmux',
'htop', 'htop',
'bmon', 'bmon',
] ]
@ -73,6 +75,7 @@ apt = [
'git', 'git',
'gcc', 'gcc',
'ripgrep', 'ripgrep',
'tmux',
'htop', 'htop',
'bmon', 'bmon',
] ]
@ -113,6 +116,7 @@ pacman = [
'neovim', 'neovim',
'ripgrep', 'ripgrep',
'tree-sitter', 'tree-sitter',
'tmux',
'htop', 'htop',
'bmon', 'bmon',
] ]
@ -169,6 +173,7 @@ pacman = [
'tree-sitter', 'tree-sitter',
'tree-sitter-bash', 'tree-sitter-bash',
'tree-sitter-cli', 'tree-sitter-cli',
'tmux',
'htop', 'htop',
'bmon', 'bmon',
] ]

View File

@ -9,6 +9,10 @@ fi
if command -v nvim &> /dev/null; then if command -v nvim &> /dev/null; then
nvim --headless "+Lazy! update" +qa nvim --headless "+Lazy! update" +qa
fi fi
if command -v tmux &> /dev/null; then
~/.tmux/plugins/tpm/bin/install_plugins
~/.tmux/plugins/tpm/bin/update_plugins all
fi
{{ if and (not .noGUI) (hasKey .chezmoi.osRelease "id") }} {{ if and (not .noGUI) (hasKey .chezmoi.osRelease "id") }}
{{ if and (eq .chezmoi.os "linux") (stat (print .chezmoi.homeDir "/.winscp")) }} {{ if and (eq .chezmoi.os "linux") (stat (print .chezmoi.homeDir "/.winscp")) }}