Skip to content

Commit 52d57ca

Browse files
committed
Add Oh my tmux!
1 parent aa79d08 commit 52d57ca

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

zsh/.zshrc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,12 @@ if ! zgen saved; then
172172

173173
# Generate the init script from plugins above
174174
zgen save
175+
176+
# Also configure tmux
177+
if command -v tmux &> /dev/null && [ ! -f "${HOME}/.config/tmux/tmux.conf" ]; then
178+
echo "Tmux was found, but it seems not to be configured. Configuring using Oh my tmux!"
179+
curl -fsSL "https://github.com/gpakosz/.tmux/raw/refs/heads/master/install.sh#$(date +%s)" | bash
180+
fi
175181
fi
176182

177183
# Delayed Powerlevel10k setup to avoid the warning about console output.

0 commit comments

Comments
 (0)