From 85db5aaef03ba69afd029f869af27bb9149465e9 Mon Sep 17 00:00:00 2001 From: steveokard Date: Sun, 3 Sep 2017 00:08:05 -0400 Subject: [PATCH] fixed ~ to whoami --- .zsh/tmux.plugin.zsh | 4 ++-- .zshrc | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) 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"