fixed ~ to whoami

This commit is contained in:
Stefen Auris 2017-09-03 00:08:05 -04:00
parent 941bf1f5ee
commit 85db5aaef0
2 changed files with 5 additions and 5 deletions

View file

@ -57,10 +57,10 @@ fi
if [[ "$ZSH_TMUX_ITERM2" == "false" ]] && [[ -f $HOME/.tmux.conf || -h $HOME/.tmux.conf ]] if [[ "$ZSH_TMUX_ITERM2" == "false" ]] && [[ -f $HOME/.tmux.conf || -h $HOME/.tmux.conf ]]
then then
#use this when they have a ~/.tmux.conf #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 else
#use this when they don't have a ~/.tmux.conf #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 fi
# Wrapper function for tmux. # Wrapper function for tmux.

6
.zshrc
View file

@ -14,9 +14,9 @@ setopt mark_dirs
setopt path_dirs setopt path_dirs
#Load libraries #Load libraries
source ~/.zsh/* for f in ~/.zsh/*.zsh; do
#source ~/.zsh/directories.zsh source $f
#source ~/.zsh/history.zsh done
#alias/prefs #alias/prefs
export VISUAL="/usr/bin/vim" export VISUAL="/usr/bin/vim"