new tmux automatic installer
This commit is contained in:
@@ -1,6 +1,11 @@
|
|||||||
#set-option -g status-position top
|
#check if tpm for tmux is installed, if not it will install it for you
|
||||||
#set-option -g status on
|
run-shell -b '
|
||||||
#set-option -g status-position top
|
if [[ -e "$HOME/.config/tmux/plugins/" ]]; then
|
||||||
|
echo "you have tpm installed"
|
||||||
|
else
|
||||||
|
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
|
||||||
|
fi
|
||||||
|
'
|
||||||
|
|
||||||
set-option -sa terminal-overrides ",xterm*:Tc"
|
set-option -sa terminal-overrides ",xterm*:Tc"
|
||||||
set -g mouse on
|
set -g mouse on
|
||||||
@@ -13,9 +18,11 @@ bind C-Space send-prefix
|
|||||||
|
|
||||||
bind -n M-H previous-window
|
bind -n M-H previous-window
|
||||||
bind -n M-L next-window
|
bind -n M-L next-window
|
||||||
|
bind r source-file ~/.config/tmux/tmux.conf
|
||||||
|
|
||||||
set -g base-index 1
|
set -g base-index 1
|
||||||
set -g pane-base-index 1
|
set -g pane-base-index 1
|
||||||
|
|
||||||
set-window-option -g pane-base-index 1
|
set-window-option -g pane-base-index 1
|
||||||
set-option -g renumber-windows on
|
set-option -g renumber-windows on
|
||||||
|
|
||||||
@@ -26,9 +33,9 @@ set -g @catppuccin_flavor 'latte'
|
|||||||
set -g @plugin "tmux-plugins/tpm"
|
set -g @plugin "tmux-plugins/tpm"
|
||||||
set -g @plugin "tmux-plugins/tmux-sensible"
|
set -g @plugin "tmux-plugins/tmux-sensible"
|
||||||
set -g @plugin "christoomey/vim-tmux-navigator"
|
set -g @plugin "christoomey/vim-tmux-navigator"
|
||||||
#set -g @plugin 'dreamsofcode-io/catppuccin-tmux'
|
|
||||||
set -g @plugin 'catppuccin/tmux#v1.0.3'
|
set -g @plugin 'catppuccin/tmux#v1.0.3'
|
||||||
set -g @catppuccin_window_status_style "rounded"
|
set -g @catppuccin_window_status_style "rounded"
|
||||||
|
|
||||||
# Make the status line more pleasant.
|
# Make the status line more pleasant.
|
||||||
set -g status-right-length 100
|
set -g status-right-length 100
|
||||||
set -g status-left-length 100
|
set -g status-left-length 100
|
||||||
|
|||||||
3
.zshrc
3
.zshrc
@@ -21,6 +21,7 @@ zinit light Aloxaf/fzf-tab
|
|||||||
# Load completions
|
# Load completions
|
||||||
autoload -U compinit && compinit
|
autoload -U compinit && compinit
|
||||||
|
|
||||||
|
zinit cdreplay -q
|
||||||
|
|
||||||
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
||||||
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
||||||
@@ -46,7 +47,7 @@ zinit snippet OMZL::git.zsh
|
|||||||
zinit snippet OMZP::git
|
zinit snippet OMZP::git
|
||||||
zinit snippet OMZP::sudo
|
zinit snippet OMZP::sudo
|
||||||
zinit snippet OMZP::archlinux
|
zinit snippet OMZP::archlinux
|
||||||
zinit snippet OMZP::aws
|
#zinit snippet OMZP::aws
|
||||||
zinit snippet OMZP::kubectl
|
zinit snippet OMZP::kubectl
|
||||||
zinit snippet OMZP::kubectx
|
zinit snippet OMZP::kubectx
|
||||||
zinit snippet OMZP::command-not-found
|
zinit snippet OMZP::command-not-found
|
||||||
|
|||||||
Reference in New Issue
Block a user