Skip to content

Commit 7027903

Browse files
committed
fix session option reading for custom indicator
1 parent 1152082 commit 7027903

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mode_indicator.tmux

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ init_tmux_mode_indicator() {
3838
empty_style=$(indicator_style "$empty_mode_style_config" "bg=cyan,fg=black")
3939

4040
local -r \
41-
custom_prompt="#(tmux show-option -t #S -qv $custom_prompt_config)" \
42-
custom_style="#(tmux show-option -t #S -qv $custom_mode_style_config)"
41+
custom_prompt="#(tmux show-option -qv $custom_prompt_config)" \
42+
custom_style="#(tmux show-option -qv $custom_mode_style_config)"
4343

4444
local -r \
4545
mode_prompt="#{?#{!=:$custom_prompt,},$custom_prompt,#{?client_prefix,$prefix_prompt,#{?pane_in_mode,$copy_prompt,#{?pane_synchronized,$sync_prompt,$empty_prompt}}}}" \

0 commit comments

Comments
 (0)