Commit Graph

58 Commits

Author SHA1 Message Date
Graham McGregor 1579534c2e Prevent clean_plugins from deleting root
If tmux was not yet configured to initialize the Tmux Plugin Manager,
the variable for the plugin home was not being set. This was resulting
in a `rm -rf /` which is pretty nuclear.

Fixes: https://github.com/tmux-plugins/tpm/issues/58
2016-12-03 12:06:29 -05:00
Graham McGregor 9e082ff1b3 Update plugins in parallel 2016-11-12 15:20:08 -05:00
JackDrogon a44cab3fcf Fix plugin line start with tab problem 2016-02-01 14:41:50 +08:00
Bruno Sutic 620f06c524
Undeprecate 'set -g @tpm_plugins' 2015-12-14 01:22:40 +01:00
Treri a6e34acf0e match 'set-option -g @plugin' and 'set -g @plugin' 2015-09-08 16:38:15 +08:00
Bruno Sutic bfc7a2c2cb
Bugfix: `Escape` quits tpm with emacs copy mode
Fixes #43, closes #45
2015-08-04 17:20:03 +02:00
Bruno Sutic d70df24051
Support plugin definition in sourced files 2015-08-03 23:01:22 +02:00
Bruno Sutic 9be7f975e9
Move all helpers to 'helpers/' dir 2015-08-03 17:56:45 +02:00
Bruno Sutic 0e9b64ffc4
Stop using global variable for tpm path 2015-08-03 15:30:19 +02:00
Bruno Sutic 79d90f90f7
Refactor 'tpm' script 2015-08-03 15:20:40 +02:00
Bruno Sutic 169e1b2e88
Refactor 'source_plugins' script 2015-08-03 15:19:03 +02:00
Bruno Sutic 5adc9a987f
Helper functions refactoring 2015-08-03 15:17:07 +02:00
Bruno Sutic 516a6ea4c4
Tmux echo function rename 2015-08-03 01:25:51 +02:00
Bruno Sutic 3347871a03
Update plugins bugfix 2015-08-03 01:22:06 +02:00
Bruno Sutic 44f9dd2719
Remove unused function 2015-08-03 01:16:56 +02:00
Bruno Sutic 0f0d9adb06
Refactor how TPM path is set 2015-08-03 01:11:39 +02:00
Bruno Sutic cd97b4bceb
TPM path refactoring 2015-08-03 00:59:13 +02:00
Bruno Sutic d7d269381e
Move stuff to 'scripts/variables.sh' 2015-08-03 00:43:59 +02:00
Bruno Sutic 9794997b6b
Variable quoting war 2015-08-03 00:42:03 +02:00
Bruno Sutic 19da205b0b
Enable removing plugins via CLI executable 2015-08-03 00:33:38 +02:00
Bruno Sutic 7ff8de38a4
Enable updating plugins via cli executable 2015-08-02 12:56:44 +02:00
Bruno Sutic 274098a029
Small refactor 2015-08-01 18:16:17 +02:00
Bruno Sutic 58877eea8d
Correct errors in bin/install_plugins output 2015-08-01 18:14:05 +02:00
Bruno Sutic 40ba8e58dc
Enable installing plugins via cli executable 2015-08-01 18:14:04 +02:00
Bruno Sutic a51fb24f62
Extract 'ensure_tpm_path_exists' function 2015-08-01 18:14:04 +02:00
Ilya Terentyev f4d920362c Check write permissions to plugin folder
During plugin installation, check if required write permissions are in
place; if the sanity check fails, warn the user. This is a squash
4-in-1 commit.
2015-07-23 19:57:04 +03:00
Bruno Sutic 240a497a35
Refactoring 2015-07-07 18:50:55 +02:00
Bruno Sutic a5c030d261
Clean out 2015-07-07 02:26:02 +02:00
Bruno Sutic 7ce0326916
New and old plugin syntax work together 2015-07-07 01:04:26 +02:00
Bruno Sutic 6a5784433b
`TMUX_PLUGIN_MANAGER_PATH` always has trailng slash
If the trailing slash character is not there it causes issues when
installing plugins.

Closes #38
2015-07-07 00:22:47 +02:00
Bruno Sutic 57e36cde13
Uups, fix last commit 2015-06-03 01:46:35 +02:00
Bruno Sutic e19b7689e0
Permit leading whitespace with new plugin definition syntax 2015-06-03 01:34:50 +02:00
Bruno Sutic 583e447d33
Use `-g` in new plugin definition syntax
When tmux options are used without `-g` tmux complains on startup.
2015-06-02 23:27:22 +02:00
Javier Lopez 445be1eede add bundle style plugin definition 2015-06-02 22:20:50 +02:00
Javier Lopez 7a2614d850 change default uninstall/clean keybinding to prefix + alt +u 2015-05-27 13:35:38 -05:00
Javier Lopez 2d5ecdbe4a add removal procedure 2015-05-26 22:46:15 -05:00
Bruno Sutic 9251451554
Start using C-c to clear the screen 2015-04-06 00:09:00 +02:00
Bruno Sutic 5bd15b32f3
Small refactor 2015-03-30 13:50:04 +02:00
Bruno Sutic cf9bd36d15
Enable overriding default key bindings
Closes #19
2015-03-14 20:21:38 +01:00
Bruno Sutic 9949d48b6a
GIT_TERMINAL_PROMPT=0 2015-02-08 15:38:55 +01:00
Bruno Sutic f746ae2305
Fix plugin freeze when installing non-existing plugins
Fixes #7
2014-11-21 23:53:45 +01:00
Jan Larres 3106e4294e Fix unexpanded glob case 2014-11-19 11:12:10 +13:00
Bruno Sutic 27d7cbd6b3
Manually expand tilde and $HOME in TMUX_SHARED_MANAGER_PATH
Tilde char and `$HOME` in `TMUX_SHARED_MANAGER_PATH` couldn't be used because
they are just plain strings. Fixing the problem by manually expanding them.
2014-10-25 15:45:04 +02:00
Bruno Sutic b8c076efb3
Do not source plugins that are not downloaded
Fixes #3
2014-08-30 17:16:28 +02:00
Bruno Sutic f8923b05d4 Change plugin update wording 2014-08-05 20:57:08 +02:00
Bruno Sutic 11ff4ef685 Update plugin installation messages 2014-08-05 20:50:47 +02:00
Bruno Sutic 3af756d836 update_plugin script 2014-08-05 20:43:28 +02:00
Bruno Sutic 3a5f56f10d U key binding shows a list of installed plugins 2014-08-05 18:45:59 +02:00
Bruno Sutic 1e5f07085b Rename script for plugin installation 2014-08-05 18:15:07 +02:00
Bruno Sutic d1aed98621 Plugin installation does not perform update
Plugin installation just installs new plugins.
Already installed plugins aren't updated.
2014-08-05 18:13:11 +02:00