mirror of
https://github.com/HerrCraziDev/dotfiles.git
synced 2026-04-20 14:34:21 +02:00
update dotfiles
This commit is contained in:
3
.termrc
3
.termrc
@@ -13,4 +13,7 @@ echo -e '\e[34m [termrc] Config reloaded\e[0m'
|
|||||||
# Usual env vars
|
# Usual env vars
|
||||||
export EDITOR=/usr/bin/vim
|
export EDITOR=/usr/bin/vim
|
||||||
export LANG="en_US.UTF-8"
|
export LANG="en_US.UTF-8"
|
||||||
|
export LANGUAGE="en_US.UTF-8"
|
||||||
|
|
||||||
|
# Decompress raw zlib files (.dat)
|
||||||
|
zlibd() (printf "\x1f\x8b\x08\x00\x00\x00\x00\x00" | cat - "$@" | gzip -dc)
|
||||||
|
|||||||
2
.zshrc
2
.zshrc
@@ -16,7 +16,7 @@ if [ -d $ZSH ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Personal prompt
|
# Personal prompt
|
||||||
export PROMPT="%F{yellow}[ %F{green}%B%n%F{yellow}@%F{cyan}%m %F{blue}%~%b %F{yellow}] %(!.%F{red}.%F{yellow})%B#%b%f "
|
export PROMPT="%F{yellow}[ %F{green}%B%n%F{yellow}@%F{cyan}%m %F{blue}%~%b %F{yellow}] %(!.%F{red}.%F{yellow})%B$%b%f "
|
||||||
|
|
||||||
export PATH=$HOME/bin:$HOME/.local/bin:/usr/local/bin:$PATH
|
export PATH=$HOME/bin:$HOME/.local/bin:/usr/local/bin:$PATH
|
||||||
|
|
||||||
|
|||||||
@@ -21,19 +21,34 @@ bind Tab last-window
|
|||||||
bind Enter copy-mode
|
bind Enter copy-mode
|
||||||
bind Escape copy-mode
|
bind Escape copy-mode
|
||||||
|
|
||||||
|
# Copy mode
|
||||||
|
bind C-v paste-buffer
|
||||||
|
bind -T copy-mode-vi Enter send -X copy-selection-no-clear \; send -X copy-pipe-and-cancel "xclip -i -sel c" \; display " [tmux] copied!"
|
||||||
|
bind -T copy-mode-vi C-c send -X copy-selection-no-clear \; send -X copy-pipe-and-cancel "xclip -i -sel c" \; display " [tmux] copied!"
|
||||||
|
bind -T copy-mode-vi y send -X copy-selection-no-clear \; send -X copy-pipe "xclip -i -sel c" \; display " [tmux] copied!"
|
||||||
|
bind -T copy-mode-vi MouseDragEnd1Pane send -X copy-selection-no-clear
|
||||||
|
bind -T copy-mode-vi DoubleClick1Pane select-pane \; send -X select-word
|
||||||
|
bind -T copy-mode-vi TripleClick1Pane select-pane \; send -X select-line
|
||||||
|
bind -T copy-mode-vi Escape send -X cancel
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Window actions
|
# Window actions
|
||||||
bind , rename-window
|
bind y rename-window
|
||||||
bind r source-file ~/.tmux.conf; display " [tmux] ♦ Configuration reloaded from .tmux.conf"
|
bind r source-file ~/.tmux.conf; display " [tmux] ♦ Configuration reloaded from .tmux.conf"
|
||||||
|
|
||||||
# Colors
|
# Colors
|
||||||
set -g display-panes-active-colour colour71
|
set -g display-panes-active-colour colour71
|
||||||
set -g display-panes-colour colour244
|
set -g display-panes-colour colour244
|
||||||
|
|
||||||
|
# Set text modes
|
||||||
#set -g utf8 on
|
#set -g utf8 on
|
||||||
#set-option -g status-utf8 on
|
#set-option -g status-utf8 on
|
||||||
set -g default-terminal "xterm-256color"
|
set -g default-terminal "xterm-256color"
|
||||||
|
|
||||||
|
# Enable mouse integration
|
||||||
|
set -g mouse on
|
||||||
|
|
||||||
set -g status-bg colour235
|
set -g status-bg colour235
|
||||||
set -g status-fg white
|
set -g status-fg white
|
||||||
set -g status-left '#(sh ~/.tmux/health-indicator.sh #{client_prefix})#S #(~/.tmux/segment.sh end 31 29) ▣ #{session_windows} #{?session_many_attached,#(~/.tmux/subsegment.sh end) 🖥 #{session-attached},}#(~/.tmux/segment.sh end 29 71) #[fg=colour235]#H #(~/.tmux/segment.sh end 71 65) #[fg=colour235]#(whoami) #(~/.tmux/segment.sh end 65 235)'
|
set -g status-left '#(sh ~/.tmux/health-indicator.sh #{client_prefix})#S #(~/.tmux/segment.sh end 31 29) ▣ #{session_windows} #{?session_many_attached,#(~/.tmux/subsegment.sh end) 🖥 #{session-attached},}#(~/.tmux/segment.sh end 29 71) #[fg=colour235]#H #(~/.tmux/segment.sh end 71 65) #[fg=colour235]#(whoami) #(~/.tmux/segment.sh end 65 235)'
|
||||||
|
|||||||
Reference in New Issue
Block a user