Commit Graph

203 Commits

Author SHA1 Message Date
Bruno Sutic
38ab7d9ef7
Merge pull request #210 from laggardkernel/bugfix/default-branch
[Bugfix] Remove hardcoding default branch as "master"
2021-08-14 10:57:28 +02:00
laggardkernel
f9d3c542cd Remove hardcoding default branch as "master"
Default branch of repo could be "master", "main" or any names.
Stop hardcoding "master" as the default to clone and let "git"
decide it automatically.
2021-08-14 15:41:26 +08:00
Bruno Sutic
108f76b628
Merge pull request #158 from rafalrothenberger/add-branch-to-plugin
Add branch support for plugins
2021-07-02 14:47:17 +02:00
Rafał Rothenberger
e019ff1fe9
Merge branch 'master' into add-branch-to-plugin 2021-06-29 09:03:20 +02:00
Bruno Sutic
2afeff1529
Add 'HELPERS_DIR' variable to tmux_utils.sh 2021-03-15 11:50:50 +01:00
Bruno Sutic
0a19b28b4e
Remove CURRENT_DIR variable from a helper script
Fixes #200
2021-03-15 11:42:37 +01:00
Bruno Sutic
29c871e810
Merge pull request #198 from ehandal/fix_env_reload
Fix hardcoded tmux.conf path in environment reload
2021-02-23 12:07:50 +01:00
Edgar Handal
f79c59314c Fix hardcoded tmux.conf path in environment reload 2021-02-22 19:59:32 -06:00
Bruno Sutic
38576cf76e
Add tmux-plugins/list to the readme 2021-01-19 14:11:21 +01:00
Bruno Sutic
60a36d6f7a
Merge pull request #171 from gpakosz/support-source-q
Add support for 'source-file -q'
2020-09-04 09:14:23 +02:00
Bruno Sutic
b36202ace9
Merge pull request #177 from Ambroisie/detect-xdg-config
Use XDG-compatible plugin path when available
2020-09-02 09:42:24 +02:00
Bruno BELANYI
425cabe941 Explain XDG-compatible plugin path in docs
Reword the documentation file explaining how to change the path were
`tpm` installs its plugins to mention the new behaviour regarding
XDG_CONFIG_HOME.
2020-08-31 11:32:07 +02:00
Bruno BELANYI
9d2a389f90 Use XDG-compatible plugin path when available
If the `tmux.conf` file is found at a XDG_CONFIG_HOME, use this
directory to store the plugins instead of `$HONE/.tmux/`.

This is only effective if the user has not overridden the value of
`TMUX_PLUGIN_MANAGER_PATH` in their configuration file.
2020-08-31 11:32:07 +02:00
Bruno Sutic
59f78857f6
Revert "Update README.md installation instructions."
This reverts commit a403ca3b67.

There are problems when running TPM with a `-b` flag, see #151.
2020-07-06 09:34:03 +02:00
Bruno Sutic
5c4f37a52d
Merge pull request #172 from Swivelgames/patch-1
Non-Github Plugin Install Fails due to Syntax Error in README.md
2020-06-21 08:52:50 +02:00
Joseph Dalrymple
4a3fdeca47
Fixed Git Plugin Example
I thought it was a bit peculiar that the README.md suggested using `git@bitbucket.com/user/plugin`, but went ahead with that syntax. After seemingly endlessly scratching my head, while trying to figure out what the issue, I reverted to the traditional git URL syntax (SSH syntax) and it worked.

```
set -g @plugin 'git@bitbucket.com:user/plugin_name`
```

Verified by running `./.tmux/plugins/tpm/bin/install_plugins` manually with a fresh version of TMUX + TPM with both styles.
2020-06-03 14:31:31 -05:00
Gregory Pakosz
788f5d68af Add support for 'source-file -q', fixes #135
Starting from tmux 2.3, 'source-file' understands '-q' to suppress errors for
nonexistent files.
2020-02-28 14:12:51 +01:00
Bruno Sutic
06d41226af
Merge pull request #159 from GeoffreyFrogeye/xdg_default_value
Default value for XDG_CONFIG_HOME
2020-02-18 11:09:12 +01:00
Geoffrey Frogeye
7c3a16e243
Default value for XDG_CONFIG_HOME 2019-07-16 20:58:31 +02:00
Rafał Rothenberger
fe5e13152a add branch support 2019-05-19 23:26:00 +02:00
Bruno Sutic
26d9ace1b4
Update README.md 2019-04-19 12:47:34 +02:00
Bruno Sutic
476f6ca699
Merge pull request #149 from ploth/patch-1
Update README.md
2019-02-21 15:44:52 +01:00
Pascal Loth
6727ee441d
Update README.md 2019-02-20 15:22:35 +01:00
Bruno Sutic
2ab1d9101b
Merge pull request #115 from shouya/patch-1
solution to the problem 'tpm returned 127'
2019-01-07 14:05:09 +01:00
Bruno Sutic
42bb2bf48b
Note about XDG dir spec 2018-11-07 12:39:08 +01:00
Bruno Sutic
0128e36fbe
Merge pull request #143 from weilbith/xdg-support
Flexible TMux Configuration Load
2018-11-07 12:35:27 +01:00
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
Bruno Sutic
9be9fd19f1
Merge pull request #144 from metakirby5/master
Update README.md installation instructions.
2018-11-06 14:36:35 +01:00
Ethan Chan
a403ca3b67
Update README.md installation instructions.
`run '~/.tmux/plugins/tpm/tpm'` should be run in the background, so the `-b` flag was added.
2018-11-04 16:40:07 -08: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
Shou Ya
e51a3772b5 solution to the problem 'tpm returned 127'
See issue #67 for more discussion
2017-08-02 12:09:05 +08: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