diff --git a/config/tmux b/config/tmux index 708037b..e44caad 100644 --- a/config/tmux +++ b/config/tmux @@ -109,28 +109,6 @@ if-shell "test '#{$TMUX_VERSION_MAJOR} -gt 1 -o \( #{$TMUX_VERSION_MAJOR} -eq 1 if-shell "test '#{$TMUX_VERSION_MAJOR} -gt 1 -o \( #{$TMUX_VERSION_MAJOR} -eq 1 -a #{$TMUX_VERSION_MINOR} -ge 8 \)'" 'unbind v; bind v split-window -h -c "#{pane_current_path}"' if-shell "test '#{$TMUX_VERSION_MAJOR} -gt 1 -o \( #{$TMUX_VERSION_MAJOR} -eq 1 -a #{$TMUX_VERSION_MINOR} -ge 8 \)'" 'unbind %; bind % split-window -h -c "#{pane_current_path}"' - -# Make mouse useful in copy mode -setw -g mode-mouse on - -# Allow mouse to select which pane to use -set -g mouse-select-pane on - -# Allow mouse dragging to resize panes -set -g mouse-resize-pane on - -# Allow mouse to select windows -set -g mouse-select-window on - -# Allow xterm titles in terminal window, terminal scrolling with scrollbar, and setting overrides of C-Up, C-Down, C-Left, C-Right -# (commented out because it disables cursor navigation in vim) -#set -g terminal-overrides "xterm*:XT:smcup@:rmcup@:kUP5=\eOA:kDN5=\eOB:kLFT5=\eOD:kRIT5=\eOC" - -# Scroll History -set -g history-limit 90000 - -# Set ability to capture on start and restore on exit window data when running an application -setw -g alternate-screen on - -# Lower escape timing from 500ms to 50ms for quicker response to scroll-buffer access. -set -s escape-time 50 \ No newline at end of file +set -g mouse-utf8 on +set -g mouse on +set-option -g set-titles on \ No newline at end of file diff --git a/config/zshrc b/config/zshrc index 06bdfe3..d143f36 100644 --- a/config/zshrc +++ b/config/zshrc @@ -1,5 +1,4 @@ -export PATH=$HOME/bin:$HOME/toolbox:/usr/local/bin:$PATH -export ZSH=$HOME/.oh-my-zsh +export PATH=$HOME/bin:$HOME/toolbox:/usr/local/bin:$HOME/hosting-run-scripts/:$PATH export ZSH=$HOME/.oh-my-zsh # See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes ZSH_THEME="agnoster" @@ -343,6 +342,7 @@ alias paste='pastebin -m -n Hactar' alias psa='ps auxwwwf' alias toph='top -cHd1' alias vdir='vdir --color=auto' +alias ip="ip --color" alias gw01='z3 gw01.infra.mps.gs.ovh.net' alias hr-admin='z3 root@hr-admin.rungs.ovh'