File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
3
3
CURRENT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd ) "
4
+ SCRIPTS_DIR=" $CURRENT_DIR /scripts"
4
5
5
- source " $CURRENT_DIR /scripts /helpers.sh"
6
- source " $CURRENT_DIR /scripts /variables.sh"
7
- source " $CURRENT_DIR /scripts /tree_helpers.sh"
6
+ source " $SCRIPTS_DIR /helpers.sh"
7
+ source " $SCRIPTS_DIR /variables.sh"
8
+ source " $SCRIPTS_DIR /tree_helpers.sh"
8
9
9
10
set_default_key_binding_options () {
10
11
local tree_command=" $( tree_command) "
@@ -26,7 +27,7 @@ set_key_bindings() {
26
27
for option in $stored_key_vars ; do
27
28
key=" $( get_key_from_option_name " $option " ) "
28
29
value=" $( get_value_from_option_name " $option " ) "
29
- tmux bind-key " $key " run-shell " $CURRENT_DIR /scripts /toggle.sh '$value ' '#{pane_id}'"
30
+ tmux bind-key " $key " run-shell " $SCRIPTS_DIR /toggle.sh '$value ' '#{pane_id}'"
30
31
done
31
32
}
32
33
You can’t perform that action at this time.
0 commit comments