Skip to content

Commit

Permalink
misc changes
Browse files Browse the repository at this point in the history
  • Loading branch information
napalm255 committed Dec 13, 2014
1 parent 60da904 commit 89e7e28
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions powertmux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ __powertmux_complete() {
COMPREPLY=( $(compgen -W "${option_list}" -- ${cur}) )
}

__powertmux_directory() {
__powertmux_dir_home() {
SOURCE="${BASH_SOURCE[0]}"
while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symlink
DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
Expand Down Expand Up @@ -265,10 +265,10 @@ roll_text() {
}

# configure variables
export POWERTMUX_DIR_HOME="$(__powertmux_directory)"
export POWERTMUX_DIR_PLUGINS="${POWERTMUX_DIR_HOME}/plugins"
export POWERTMUX_DIR_HOME="$(__powertmux_dir_home)"
export POWERTMUX_DIR_LIB="${POWERTMUX_DIR_HOME}/lib"
export POWERTMUX_DIR_THEMES="${POWERTMUX_DIR_HOME}/themes"
export POWERTMUX_DIR_TMUX="${POWERTMUX_DIR_HOME}/tmux.conf"
export POWERTMUX_DIR_PLUGINS="${POWERTMUX_DIR_HOME}/plugins"
export POWERTMUX_DIR_TEMPORARY="/tmp/powertmux_${USER}"
export POWERTMUX_THEME_DEFAULT="default"
export POWERTMUX_STATUS_LEFT="on"
Expand Down

0 comments on commit 89e7e28

Please sign in to comment.