Skip to content

Commit

Permalink
Run the tmux plugin install iff possible
Browse files Browse the repository at this point in the history
  • Loading branch information
benknoble committed Jun 4, 2018
1 parent 6262675 commit 5fcdf1d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion setup/installers/install-tmux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@ dir="$( cd "$( dirname "${BASH_SOURCE[0]}")" && pwd )"
setup_dir="$( dirname "$dir" )"
dotfiles_dir="$( dirname "$setup_dir")"

tmux_install=~/.tmux/plugins/tpm/bin/install_plugins

source "$dotfiles_dir/dotfiles-support"

run_tmux_installer() {
display_message "Install tmux plugins..."
~/.tmux/plugins/tpm/bin/install_plugins
[[ -e "$tmux_install" ]] && "$tmux_install"
display_message "...done with tmux plugins"
}

Expand Down

0 comments on commit 5fcdf1d

Please sign in to comment.