feat(tmux): add local specific config sourcing

This commit is contained in:
thek4n 2024-04-05 10:56:52 +03:00
parent 21a3015948
commit 89978d3476
2 changed files with 4 additions and 1 deletions

3
.gitignore vendored
View File

@ -25,6 +25,7 @@ home/user/.config/ranger/plugins
home/user/.termux/shell home/user/.termux/shell
home/user/.config/tmux/plugins home/user/.config/tmux/plugins
home/user/.config/tmux/local.conf
home/user/.tmux/* home/user/.tmux/*
!home/user/.tmux/01.sh !home/user/.tmux/01.sh
!home/user/.tmux/10.sh !home/user/.tmux/10.sh

View File

@ -7,5 +7,7 @@ source-file "$HOME/.config/tmux/aliases.conf"
if-shell 'test -n "$SSH_CLIENT"' 'source-file "$HOME/.config/tmux/remote.conf"' if-shell 'test -n "$SSH_CLIENT"' 'source-file "$HOME/.config/tmux/remote.conf"'
if-shell 'test -e "$HOME/.config/tmux/local.conf"' 'source-file "$HOME/.config/tmux/local.conf"'
source-file "$HOME/.config/tmux/plugins.conf" source-file "$HOME/.config/tmux/plugins.conf"
run -b "$HOME/.config/tmux/plugins/tpm/tpm" run -b "$HOME/.config/tmux/plugins/tpm/tpm"