Convert tmux from stow to chezmoi
This commit is contained in:
parent
5dd202512d
commit
398158e747
@ -1,7 +1,6 @@
|
||||
/hellotech/
|
||||
/install-scripts/
|
||||
/old-scripts/
|
||||
/tmux/
|
||||
/vim-fancy/
|
||||
/vim/
|
||||
/README.md
|
||||
|
||||
2
tmux/.config/tmux/plugins/macos-color-workaround → dot_config/tmux/plugins/executable_macos-color-workaround.tmpl
Executable file → Normal file
2
tmux/.config/tmux/plugins/macos-color-workaround → dot_config/tmux/plugins/executable_macos-color-workaround.tmpl
Executable file → Normal file
@ -1,3 +1,4 @@
|
||||
{{ if and (lookPath "tmux") (eq .chezmoi.os "darwin") -}}
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if [ "$(uname -s)" == "Darwin" ]; then
|
||||
@ -6,3 +7,4 @@ fi
|
||||
|
||||
tmux set default-terminal "tmux-256color"
|
||||
tmux set terminal-overrides ",xterm-256color:Tc"
|
||||
{{- end }}
|
||||
0
tmux/.config/tmux/plugins/tpm/bin/clean_plugins → dot_config/tmux/plugins/tpm/bin/executable_clean_plugins
Executable file → Normal file
0
tmux/.config/tmux/plugins/tpm/bin/clean_plugins → dot_config/tmux/plugins/tpm/bin/executable_clean_plugins
Executable file → Normal file
0
tmux/.config/tmux/plugins/tpm/bin/install_plugins → dot_config/tmux/plugins/tpm/bin/executable_install_plugins
Executable file → Normal file
0
tmux/.config/tmux/plugins/tpm/bin/install_plugins → dot_config/tmux/plugins/tpm/bin/executable_install_plugins
Executable file → Normal file
0
tmux/.config/tmux/plugins/tpm/bin/update_plugins → dot_config/tmux/plugins/tpm/bin/executable_update_plugins
Executable file → Normal file
0
tmux/.config/tmux/plugins/tpm/bin/update_plugins → dot_config/tmux/plugins/tpm/bin/executable_update_plugins
Executable file → Normal file
0
tmux/.config/tmux/plugins/tpm/bindings/clean_plugins → dot_config/tmux/plugins/tpm/bindings/executable_clean_plugins
Executable file → Normal file
0
tmux/.config/tmux/plugins/tpm/bindings/clean_plugins → dot_config/tmux/plugins/tpm/bindings/executable_clean_plugins
Executable file → Normal file
0
tmux/.config/tmux/plugins/tpm/bindings/install_plugins → dot_config/tmux/plugins/tpm/bindings/executable_install_plugins
Executable file → Normal file
0
tmux/.config/tmux/plugins/tpm/bindings/install_plugins → dot_config/tmux/plugins/tpm/bindings/executable_install_plugins
Executable file → Normal file
0
tmux/.config/tmux/plugins/tpm/bindings/update_plugins → dot_config/tmux/plugins/tpm/bindings/executable_update_plugins
Executable file → Normal file
0
tmux/.config/tmux/plugins/tpm/bindings/update_plugins → dot_config/tmux/plugins/tpm/bindings/executable_update_plugins
Executable file → Normal file
0
tmux/.config/tmux/plugins/tpm/tpm → dot_config/tmux/plugins/tpm/executable_tpm
Executable file → Normal file
0
tmux/.config/tmux/plugins/tpm/tpm → dot_config/tmux/plugins/tpm/executable_tpm
Executable file → Normal file
0
tmux/.config/tmux/plugins/tpm/scripts/clean_plugins.sh → dot_config/tmux/plugins/tpm/scripts/executable_clean_plugins.sh
Executable file → Normal file
0
tmux/.config/tmux/plugins/tpm/scripts/clean_plugins.sh → dot_config/tmux/plugins/tpm/scripts/executable_clean_plugins.sh
Executable file → Normal file
0
tmux/.config/tmux/plugins/tpm/scripts/install_plugins.sh → dot_config/tmux/plugins/tpm/scripts/executable_install_plugins.sh
Executable file → Normal file
0
tmux/.config/tmux/plugins/tpm/scripts/install_plugins.sh → dot_config/tmux/plugins/tpm/scripts/executable_install_plugins.sh
Executable file → Normal file
0
tmux/.config/tmux/plugins/tpm/scripts/source_plugins.sh → dot_config/tmux/plugins/tpm/scripts/executable_source_plugins.sh
Executable file → Normal file
0
tmux/.config/tmux/plugins/tpm/scripts/source_plugins.sh → dot_config/tmux/plugins/tpm/scripts/executable_source_plugins.sh
Executable file → Normal file
0
tmux/.config/tmux/plugins/tpm/scripts/update_plugin.sh → dot_config/tmux/plugins/tpm/scripts/executable_update_plugin.sh
Executable file → Normal file
0
tmux/.config/tmux/plugins/tpm/scripts/update_plugin.sh → dot_config/tmux/plugins/tpm/scripts/executable_update_plugin.sh
Executable file → Normal file
0
tmux/.config/tmux/plugins/tpm/tests/test_plugin_clean.sh → dot_config/tmux/plugins/tpm/tests/executable_test_plugin_clean.sh
Executable file → Normal file
0
tmux/.config/tmux/plugins/tpm/tests/test_plugin_clean.sh → dot_config/tmux/plugins/tpm/tests/executable_test_plugin_clean.sh
Executable file → Normal file
0
tmux/.config/tmux/plugins/tpm/tests/test_plugin_update.sh → dot_config/tmux/plugins/tpm/tests/executable_test_plugin_update.sh
Executable file → Normal file
0
tmux/.config/tmux/plugins/tpm/tests/test_plugin_update.sh → dot_config/tmux/plugins/tpm/tests/executable_test_plugin_update.sh
Executable file → Normal file
@ -1,3 +1,4 @@
|
||||
{{ if lookPath "tmux" -}}
|
||||
################################################################################
|
||||
# Base configuration
|
||||
################################################################################
|
||||
@ -32,7 +33,9 @@ set-option -g mouse on
|
||||
################################################################################
|
||||
# Colors
|
||||
################################################################################
|
||||
{{ if eq .chezmoi.os "darwin" -}}
|
||||
run $XDG_CONFIG_HOME/tmux/plugins/macos-color-workaround
|
||||
{{ end }}
|
||||
set -g status-fg white
|
||||
set -g status-bg black
|
||||
|
||||
@ -85,3 +88,4 @@ set -g @prefix_highlight_show_sync_mode 'on'
|
||||
set -g @prefix_highlight_sync_mode_attr 'fg=black,bg=green' # default is 'fg=default,bg=yellow'
|
||||
|
||||
run $XDG_CONFIG_HOME/tmux/plugins/tpm/tpm
|
||||
{{- end }}
|
||||
@ -1,4 +1,6 @@
|
||||
{{ if lookPath "tmux" -}}
|
||||
if [ "$TMUX" ]; then
|
||||
# TERM=tmux-256color does not work as expected on osx
|
||||
export TERM=screen-256color
|
||||
fi
|
||||
{{- end }}
|
||||
@ -1 +0,0 @@
|
||||
Subproject commit 33fa65fbfb72ba6dd106c21bf5ee6cc353ecdbb6
|
||||
Loading…
Reference in New Issue
Block a user