fixed ~ to whoami
This commit is contained in:
parent
941bf1f5ee
commit
85db5aaef0
2 changed files with 5 additions and 5 deletions
|
@ -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.
|
||||
|
|
6
.zshrc
6
.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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue