Move tmux config to ~/.config
This commit is contained in:
parent
81b70af9d3
commit
5bf6e21e24
@ -14,8 +14,8 @@ bind - split-window -v
|
||||
unbind '"'
|
||||
unbind %
|
||||
|
||||
# reload config file (change file location to your the tmux.conf you want to use)
|
||||
bind r source-file ~/.tmux.conf
|
||||
# reload config file
|
||||
bind r source-file $XDG_CONFIG_HOME/tmux/tmux.conf
|
||||
|
||||
# switch panes using Alt-arrow without prefix
|
||||
bind -n M-Left select-pane -L
|
@ -32,7 +32,7 @@ done
|
||||
|
||||
## If tmux session is nested, source modified config (e.g. for overwriting styles)
|
||||
if [[ "${SSH_CONNECTION}" ]] && [[ "${TMUX}" ]]; then
|
||||
tmux source-file ~/.tmux.nested.conf
|
||||
tmux source-file $XDG_CONFIG_HOME/tmux/tmux.nested.conf
|
||||
fi
|
||||
|
||||
## Update or install vim plugins
|
||||
|
1
.zshenv
1
.zshenv
@ -5,7 +5,6 @@ export XDG_CONFIG_HOME=${$XDG_CONFIG_HOME:=${HOME}/.config}
|
||||
|
||||
# Where to look for zsh config
|
||||
export ZDOTDIR=${ZDOTDIR:=${XDG_CONFIG_HOME}/zsh}
|
||||
source $ZDOTDIR/.zshenv
|
||||
|
||||
# Load config files in $ZSH/lib that for stage 1
|
||||
for config_file ($ZDOTDIR/lib/10-*.zsh) source $config_file
|
||||
|
Loading…
Reference in New Issue
Block a user