use global tmux env

This commit is contained in:
Jorge Morante 2017-05-01 09:06:06 +02:00
parent 96ac27feb7
commit 0a9e0135f1
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ function set_option() {
final_value="$($transform_fn "$final_value")"
fi
tmux setenv "$option_name" "$(echo -ne "$final_value")"
tmux setenv -g "$option_name" "$final_value"
}
function process_format () {

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash
# TODO load fingers env
eval "$(tmux show-env -s | grep ^FINGERS)"
eval "$(tmux show-env -g -s | grep ^FINGERS)"
CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"