Browse Source

Fixed tmux config

crash2
Geoffrey Frogeye 3 years ago
parent
commit
384460ec29
  1. 9
      config/shell/shenv
  2. 2
      config/shell/shrc
  3. 2
      config/tmux/tmux.conf

9
config/shell/shenv

@ -77,6 +77,15 @@ export XAUTHORITY="$HOME/.config/Xauthority"
# And for the rest, see aliases
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
# Function stolen from Arch Linux /etc/profile

2
config/shell/shrc

@ -54,7 +54,7 @@ alias bower='bower --config.storage.packages=~/.cache/bower/packages --config.st
alias gdb='gdb -x $HOME/.config/gdbinit'
alias iftop='iftop -c $HOME/.config/iftoprc'
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

2
config/tmux.conf → config/tmux/tmux.conf

@ -23,4 +23,6 @@ set -g @themepack 'powerline/block/green'
set-environment -g TMUX_PLUGIN_MANAGER_PATH '~/.cache/tmuxplugins/'
# 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'
Loading…
Cancel
Save