fixed tmux

This commit is contained in:
L. Kraven
2024-06-15 15:40:30 -07:00
parent 37cf1d8893
commit cd920b049f
2 changed files with 22 additions and 3 deletions

17
.tmux.conf Executable file
View File

@@ -0,0 +1,17 @@
set-option -sa terminal-overrides ",xterm*:Tc"
# set-option -g status-position top
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'dracula/tmux'
set -g @dracula-plugins "cpu-usage ram-usage"
set -g @dracula-cpu-usage-colors "green dark_gray"
set -g @dracula-show-powerline true
set -g @dracula-show-flags true
set -g @dracula-show-left-icon hostname
bind -n M-H previous-window
bind -n M-L next-window
run '~/.config/tmux/plugins/tpm/tpm'

8
.zshrc
View File

@@ -7,7 +7,7 @@ fi
# Set ZINIT Home
ZINIT_HOME="${HOME}/.config/zinit/zinit.git"
ZSH_TMUX_AUTOSTART=true
# ZSH_TMUX_AUTOSTART=true
# Download ZINIT
if [ ! -f "${ZINIT_HOME}/zinit.zsh" ]; then
@@ -24,7 +24,9 @@ if [ ! -d "${TMUX_HOME}/plugins/tpm" ]; then
git clone https://github.com/tmux-plugins/tpm $TMUX_HOME/plugins/tpm
fi
tmux source ${TMUX_HOME}/tmux.conf
if { [ "$TERM" = "screen" ] && [ -n "$TMUX" ]; } then
tmux source ${TMUX_HOME}/tmux.conf
fi
#extend path
path=(~/bin $path)
@@ -41,7 +43,7 @@ zinit light zsh-users/zsh-syntax-highlighting
zinit light zsh-users/zsh-completions
zinit light zsh-users/zsh-autosuggestions
zinit snippet OMZP::tmux
# zinit snippet OMZP::tmux
# Load completions
autoload -U compinit && compinit