Fixed tmux config

This commit is contained in:
Geoffrey Frogeye 2019-07-16 17:43:46 +02:00
parent 59fdfe7ea2
commit 384460ec29
3 changed files with 12 additions and 1 deletions

View file

@ -77,6 +77,15 @@ export XAUTHORITY="$HOME/.config/Xauthority"
# And for the rest, see aliases # And for the rest, see aliases
direnv JUNKHOME "$HOME/.cache/junkhome" direnv JUNKHOME "$HOME/.cache/junkhome"
# For software that did not understand that XDG variables have defaults
direnv XDG_DATA_HOME "$HOME/.local/share"
direnv XDG_CONFIG_HOME "$HOME/.config"
export XDG_DATA_DIRS="/usr/local/share/:/usr/share/"
export XDG_CONFIG_DIRS="/etc/xdg"
direnv XDG_CACHE_HOME "$HOME/.cache"
direnv XDG_RUNTIME_DIR "$HOME/.local/run"
chmod 0700 "$XDG_RUNTIME_DIR"
# Path # Path
# Function stolen from Arch Linux /etc/profile # Function stolen from Arch Linux /etc/profile

View file

@ -54,7 +54,7 @@ alias bower='bower --config.storage.packages=~/.cache/bower/packages --config.st
alias gdb='gdb -x $HOME/.config/gdbinit' alias gdb='gdb -x $HOME/.config/gdbinit'
alias iftop='iftop -c $HOME/.config/iftoprc' alias iftop='iftop -c $HOME/.config/iftoprc'
alias lmms='lmms --config $HOME/.config/lmmsrc.xml' alias lmms='lmms --config $HOME/.config/lmmsrc.xml'
alias tmux='tmux -f $HOME/.config/tmux.conf' alias tmux='tmux -f $HOME/.config/tmux/tmux.conf'
# TODO ruby's gem when I find a use for it # TODO ruby's gem when I find a use for it

View file

@ -23,4 +23,6 @@ set -g @themepack 'powerline/block/green'
set-environment -g TMUX_PLUGIN_MANAGER_PATH '~/.cache/tmuxplugins/' set-environment -g TMUX_PLUGIN_MANAGER_PATH '~/.cache/tmuxplugins/'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) # Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
if "test ! -d ~/.cache/tmuxplugins/tpm" \
"run 'git clone https://github.com/tmux-plugins/tpm ~/.cache/tmuxplugins/tpm && ~/.cache/tmuxplugins/tpm/bin/install_plugins'"
run -b '~/.cache/tmuxplugins/tpm/tpm' run -b '~/.cache/tmuxplugins/tpm/tpm'