fixed custom variables detection, fixes #613
This commit is contained in:
parent
fa601ed607
commit
5641d3b3f5
1 changed files with 1 additions and 1 deletions
|
@ -1349,7 +1349,7 @@ run 'cut -c3- ~/.tmux.conf | sh -s _apply_configuration'
|
||||||
# # -- custom variables ---------------------------------------------------
|
# # -- custom variables ---------------------------------------------------
|
||||||
#
|
#
|
||||||
# if [ -f ~/.tmux.conf.local ] && [ x"$(cut -c3- ~/.tmux.conf.local | sh 2>/dev/null -s printf probe)" = x"probe" ]; then
|
# if [ -f ~/.tmux.conf.local ] && [ x"$(cut -c3- ~/.tmux.conf.local | sh 2>/dev/null -s printf probe)" = x"probe" ]; then
|
||||||
# replacements=$(perl -n -e 'print if s!^#\s+([^_][^()\s]+)\s*\(\)\s*{\s*\n!s%#\\\{\1((?:\\s+(?:[^\{\}]+?|#\\{(?:[^\{\}]+?)\}))*)\\\}%#(cut -c3- ~/.tmux.conf.local | sh -s \1\\1)%g; !p' < ~/.tmux.conf.local)
|
# replacements=$(perl -n -e 'print if s!^#\s+([^_][^()\s]+)\s*\(\)\s*{\s*(?:#.*)?\n!s%#\\\{\1((?:\\s+(?:[^\{\}]+?|#\\{(?:[^\{\}]+?)\}))*)\\\}%#(cut -c3- ~/.tmux.conf.local | sh -s \1\\1)%g; !p' < ~/.tmux.conf.local)
|
||||||
# status_left=$(echo "$status_left" | perl -p -e "$replacements" || echo "$status_left")
|
# status_left=$(echo "$status_left" | perl -p -e "$replacements" || echo "$status_left")
|
||||||
# status_right=$(echo "$status_right" | perl -p -e "$replacements" || echo "$status_right")
|
# status_right=$(echo "$status_right" | perl -p -e "$replacements" || echo "$status_right")
|
||||||
# fi
|
# fi
|
||||||
|
|
Loading…
Reference in a new issue