Commit Graph

174 Commits

Author SHA1 Message Date
Thore Weilbier
0e46b92aba
Remove _CONFIG_LOCATION variable again.
It has been decided that this feature should been removed until it will be requested.
2018-11-07 09:31:21 +01:00
Thore Weilbier
206ded75d8
Restore tabs instead of spaces for indentation. 2018-11-04 11:19:28 +01:00
Thore Weilbier
2c4a2dfd65
Add flexible tmux configuration load function.
Add function `_get_user_tmux_conf` to helper script `plugin_functions`.
Function is searching for the users tmux configuration on multiple
places by a prioritized order.
The response is used within`_tmux_conf_contents` to read in the content
as normally.
Add new environment variable `TMUX_PLUGIN_MANAGER_CONFIG_LOCATION` which
is optional to be defined.
If so it has the highest priority to be loaded, despite if the file
exist or not.
XDG directory support has been added as well by the second priority
location at `$XDG_CONFIG_HOME/tmux/tmux.conf`.
2018-11-02 13:07:53 +01:00
Bruno Sutic
95f78336c3 Merge pull request #118 from EdwardBetts/spelling
correct spelling mistake
2017-09-02 13:28:36 +02:00
Edward Betts
3efe9b20ba correct spelling mistake 2017-09-02 08:03:23 +01:00
Timothy Cyrus
c8ac32a085 Update README.md (#66)
- Changed PNG Badges to SVG
- Added Styling to Code Blocks
- Added <kbd> tags for Key Bindings
2017-04-14 23:13:45 -04:00
Graham McGregor
0ea31ae2d6 Merge pull request #96 from narfman0/master
Docs change to include auto plugin installation
2016-12-16 14:03:01 -05:00
Jon Robison
c5c997bdde -Add auto plugin installation 2016-12-16 13:54:46 -05:00
Graham McGregor
350fa9ee5f Clarify sourcing tmux.conf
Avoid any confusion with starting tmux with the `-f` option.

Fixes https://github.com/tmux-plugins/tpm/issues/89
2016-12-12 21:40:34 -05:00
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
cfaf15b768 Merge pull request #92 from Graham42/faster_updating
Update plugins in parallel
2016-12-03 12:04:23 -05:00
Graham McGregor
9e082ff1b3 Update plugins in parallel 2016-11-12 15:20:08 -05:00
Bruno Sutic
b4c89884e0
Document windows/cygwin issue with line endings
Closes #81
2016-08-21 07:12:43 +02:00
Bruno Sutic
9bfbac2767
Better issues separation in tpm_not_working.md 2016-08-21 06:52:18 +02:00
Bruno Sutic
284b28ec80 Merge pull request #68 from JackDrogon/fix_plugin_line
Fix plugin line start with tab problem
2016-08-21 06:17:53 +02:00
JackDrogon
a44cab3fcf Fix plugin line start with tab problem 2016-02-01 14:41:50 +08:00
Bruno Sutic
51ff07a729
Docs wording change 2015-12-14 01:26:16 +01:00
Bruno Sutic
620f06c524
Undeprecate 'set -g @tpm_plugins' 2015-12-14 01:22:40 +01:00
Bruno Sutic
f75ba16d5f Merge pull request #61 from brandondrew/patch-1
make script executable only for the owner
2015-11-15 14:56:26 +01:00
Brandon Zylstra
abffb251ac make script executable only for the owner
Making files executable for the world opens a potential security risk.  It might be unlikely that it can be exploited, but it's a better practice to avoid doing anyway.
2015-11-14 23:11:43 -05:00
Bruno Sutic
1c027df560 Merge pull request #60 from Maffblaster/patch-1
Added a bit more clarity.
2015-11-05 00:16:56 +01:00
Matthew Marchese
9f44b6fca9 Added a bit more clarity.
It's important to understand installing and uninstalling plugins is case sensitive.
2015-11-04 15:01:25 -08:00
Bruno Sutic
527d123211
Test for 'set-option' plugin definition 2015-10-08 01:24:08 +02:00
Bruno Sutic
4671ee745c Merge pull request #50 from Treri/master
match 'set-option -g @plugin' and 'set -g @plugin' both
2015-10-08 01:17:29 +02:00
Bruno Sutic
c5600ae332 Merge pull request #52 from cclay/patch-1
Update how_to_create_plugin.md
2015-10-08 01:16:46 +02:00
Bruno Sutic
01c714fcad
Add info that cygwin is supported
Closes #42
2015-10-08 01:12:55 +02:00
Bruno Sutic
aa09a56f4b Merge pull request #55 from larrylv/patch-1
Fix typo in README.md
2015-09-23 16:54:16 +02:00
Larry Lv
f6a6d879b0 Fix typo in README.md 2015-09-23 22:22:27 +08:00
Bruno Sutic
c53ccb37ae
Force LF eol with .gitattributes 2015-09-20 01:55:42 +02:00
cclay
5073d2f382 Update how_to_create_plugin.md
typo
2015-09-15 09:12:39 -04:00
Treri
a6e34acf0e match 'set-option -g @plugin' and 'set -g @plugin' 2015-09-08 16:38:15 +08:00
Bruno Sutic
5de37f98bb
Add troubleshooting docs 2015-08-10 20:18:32 +02: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
62360f9180
New tmux-test version 2015-08-04 17:03:12 +02:00
Bruno Sutic
468f864612
Upgrade to tmux-test version that installs tmux 2.0 2015-08-04 14:46:11 +02:00
Bruno Sutic
8bdead341d
Upgrade 'tmux-test' 2015-08-04 01:01:20 +02:00
Bruno Sutic
1ff32085b2
v3.0.0 2015-08-03 23:18:09 +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
eab403b6d8
Fix docs typo 2015-08-03 01:29:53 +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
57c0623fb8
More variable quoting 2015-08-03 00:44:43 +02:00