diff --git a/.zsh/tmux.plugin.zsh b/.zsh/tmux.plugin.zsh index 74764a8..0ed7be2 100644 --- a/.zsh/tmux.plugin.zsh +++ b/.zsh/tmux.plugin.zsh @@ -57,10 +57,10 @@ fi if [[ "$ZSH_TMUX_ITERM2" == "false" ]] && [[ -f $HOME/.tmux.conf || -h $HOME/.tmux.conf ]] then #use this when they have a ~/.tmux.conf - export _ZSH_TMUX_FIXED_CONFIG="~/.zsh/tmux.extra.conf" + export _ZSH_TMUX_FIXED_CONFIG="/home/`whoami`/.zsh/tmux.extra.conf" else #use this when they don't have a ~/.tmux.conf - export _ZSH_TMUX_FIXED_CONFIG="~/.zsh/tmux.only.conf" + export _ZSH_TMUX_FIXED_CONFIG="/home/`whoami`/.zsh/tmux.only.conf" fi # Wrapper function for tmux. diff --git a/.zshrc b/.zshrc index 733c600..57cc986 100644 --- a/.zshrc +++ b/.zshrc @@ -14,9 +14,9 @@ setopt mark_dirs setopt path_dirs #Load libraries -source ~/.zsh/* -#source ~/.zsh/directories.zsh -#source ~/.zsh/history.zsh +for f in ~/.zsh/*.zsh; do + source $f +done #alias/prefs export VISUAL="/usr/bin/vim"