tpm/scripts/helpers
Raul E Rangel 5edba1c1d1 Use the running tmux server to get @plugins or start a new server
I normally start my tmux server with a script because I don't have a
.tmux.config.

i.e.,

    tmux set -g @plugin 'tmux-plugins/tmux-resurrect' \; ...

This change makes it so that @plugins is sourced from the currently
running tmux server instead of spinning up a new one. This also means
that we no longer need to manually parse the configs.

There was also a problem that _tpm_path would not work correctly if
using $XDG_CONFIG_HOME/tmux/tmux.conf because tmux by default doesn't
check that path.

I tested this with both inside and outside tmux by running

    ./tpm/bin/install_plugin
2019-02-20 13:04:33 -07:00
..
plugin_functions.sh Use the running tmux server to get @plugins or start a new server 2019-02-20 13:04:33 -07:00
shell_echo_functions.sh Helper functions refactoring 2015-08-03 15:17:07 +02:00
tmux_echo_functions.sh Bugfix: `Escape` quits tpm with emacs copy mode 2015-08-04 17:20:03 +02:00
tmux_utils.sh Helper functions refactoring 2015-08-03 15:17:07 +02:00
utility.sh Move all helpers to 'helpers/' dir 2015-08-03 17:56:45 +02:00