1
0
Fork 0
mirror of synced 2024-06-21 16:31:08 -04:00
tpm/scripts
Grigory Chernyshev 7f25487004 Improve sourced_files method.
There are several issues with this method, such as #141, #112 probably
some others, which says there are problem installing plugins.
The problme is that `sourced_files` method doesn't always correctly
identifies sources files, so plugin settings defined in those
configuration files would not be loaded.

This change fixes this by doing next things:

  * excluding `tmux source` command, which could present in config
  * greping all `source` lines
  * awk command is left original
  * using `eval`, so that globed files `source *.conf` would be loaded
    as well
2018-09-30 17:25:09 +02:00
..
helpers Improve sourced_files method. 2018-09-30 17:25:09 +02:00
check_tmux_version.sh Add tmux version check 2014-07-17 23:14:32 +02:00
clean_plugins.sh Move all helpers to 'helpers/' dir 2015-08-03 17:56:45 +02:00
install_plugins.sh Move all helpers to 'helpers/' dir 2015-08-03 17:56:45 +02:00
source_plugins.sh Move all helpers to 'helpers/' dir 2015-08-03 17:56:45 +02:00
update_plugin.sh Prevent clean_plugins from deleting root 2016-12-03 12:06:29 -05:00
update_plugin_prompt_handler.sh Helper functions refactoring 2015-08-03 15:17:07 +02:00
variables.sh TPM path refactoring 2015-08-03 00:59:13 +02:00