Move tmux config to ~/.config

This commit is contained in:
Christian Baer 2020-10-11 19:59:56 +02:00
parent 81b70af9d3
commit 5bf6e21e24
4 changed files with 3 additions and 4 deletions

View File

@ -14,8 +14,8 @@ bind - split-window -v
unbind '"' unbind '"'
unbind % unbind %
# reload config file (change file location to your the tmux.conf you want to use) # reload config file
bind r source-file ~/.tmux.conf bind r source-file $XDG_CONFIG_HOME/tmux/tmux.conf
# switch panes using Alt-arrow without prefix # switch panes using Alt-arrow without prefix
bind -n M-Left select-pane -L bind -n M-Left select-pane -L

View File

@ -32,7 +32,7 @@ done
## If tmux session is nested, source modified config (e.g. for overwriting styles) ## If tmux session is nested, source modified config (e.g. for overwriting styles)
if [[ "${SSH_CONNECTION}" ]] && [[ "${TMUX}" ]]; then if [[ "${SSH_CONNECTION}" ]] && [[ "${TMUX}" ]]; then
tmux source-file ~/.tmux.nested.conf tmux source-file $XDG_CONFIG_HOME/tmux/tmux.nested.conf
fi fi
## Update or install vim plugins ## Update or install vim plugins

View File

@ -5,7 +5,6 @@ export XDG_CONFIG_HOME=${$XDG_CONFIG_HOME:=${HOME}/.config}
# Where to look for zsh config # Where to look for zsh config
export ZDOTDIR=${ZDOTDIR:=${XDG_CONFIG_HOME}/zsh} export ZDOTDIR=${ZDOTDIR:=${XDG_CONFIG_HOME}/zsh}
source $ZDOTDIR/.zshenv
# Load config files in $ZSH/lib that for stage 1 # Load config files in $ZSH/lib that for stage 1
for config_file ($ZDOTDIR/lib/10-*.zsh) source $config_file for config_file ($ZDOTDIR/lib/10-*.zsh) source $config_file