add tmux plugins

This commit is contained in:
2025-06-14 21:08:44 +02:00
parent 0d90f23ce5
commit 048b69ae13
5 changed files with 48 additions and 12 deletions

View File

@ -10,6 +10,8 @@ bind-key a select-pane -L
bind-key s select-pane -D bind-key s select-pane -D
bind-key d select-pane -R bind-key d select-pane -R
set -g @plugin 'git@github.com/tmux-plugins/tpm' set -g @plugin '~/.config/tmux/plugins/tpm'
#set -g @plugin '~/.config/tmux/plugins/catppuccin-tmux'
run '~/.tmux/plugins/tpm/tpm' run '~/.config/tmux/plugins/tpm'
#run '~/.config/tmux/plugins/catppuccin-tmux/catppuccin.tmux'

24
.gitmodules vendored
View File

@ -1,9 +1,15 @@
[submodule "zsh/plugins/zsh-autosuggestions"] [submodule "zsh/plugins/zsh-autosuggestions"]
path = zsh/plugins/zsh-autosuggestions path = zsh/plugins/zsh-autosuggestions
url = https://github.com/zsh-users/zsh-autosuggestions url = https://github.com/zsh-users/zsh-autosuggestions
[submodule "zsh/plugins/zsh-syntax-highlighting"] [submodule "zsh/plugins/zsh-syntax-highlighting"]
path = zsh/plugins/zsh-syntax-highlighting path = zsh/plugins/zsh-syntax-highlighting
url = https://github.com/zsh-users/zsh-syntax-highlighting url = https://github.com/zsh-users/zsh-syntax-highlighting
[submodule "zsh/themes/powerlevel10k"] [submodule "zsh/themes/powerlevel10k"]
path = zsh/themes/powerlevel10k path = zsh/themes/powerlevel10k
url = https://github.com/romkatv/powerlevel10k url = https://github.com/romkatv/powerlevel10k
[submodule ".config/tmux/plugins/tpm"]
path = .config/tmux/plugins/tpm
url = https://github.com/tmux-plugins/tpm
[submodule ".config/tmux/plugins/catppuccin-tmux"]
path = .config/tmux/plugins/catppuccin-tmux
url = https://github.com/catppuccin/tmux

28
setup
View File

@ -1,3 +1,4 @@
<<<<<<< HEAD
#!/usr/bin/env bash #!/usr/bin/env bash
set -e set -e
@ -26,4 +27,29 @@ if [ ! -f "$PWD/.zshenv" ]; then
cp "$PWD/.zshenv.template" "$PWD/.zshenv" cp "$PWD/.zshenv.template" "$PWD/.zshenv"
fi fi
ln -sf "$PWD/.zshenv" "$HOME/.zshenv" ln -sf "$PWD/.zshenv" "$HOME/.zshenv"
=======
#!/usr/bin/env bash
set -e
echo "[+] Cloning submodules..."
git submodule update --init --recursive
echo "[+] Creating Gitconfigs..."
(
for config in $PWD/.gitconfig.d/*.gitconfig; do
echo "[include]"
echo " path = $config"
done;
) > "$HOME/.gitconfig"
echo "[+] Creating symlinks..."
if [ ! -f "$PWD/.zshenv" ]; then
cp "$PWD/.zshenv.template" "$PWD/.zshenv"
fi
stow .
>>>>>>> ae6c9c8 (add tmux plugins)