1
0
Fork 0
mirror of synced 2024-11-14 05:28:58 -05:00
Commit graph

17 commits

Author SHA1 Message Date
Frederick Zhang
b864b4cdf2
Support sourced file names in tmux format 2023-03-07 00:15:36 +11: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
Edgar Handal
f79c59314c Fix hardcoded tmux.conf path in environment reload 2021-02-22 19:59:32 -06: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
Geoffrey Frogeye
7c3a16e243
Default value for XDG_CONFIG_HOME 2019-07-16 20:58:31 +02: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
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
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
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
5adc9a987f
Helper functions refactoring 2015-08-03 15:17:07 +02:00