Skip to content

"tmux_window_dir_programs" not working for some programs #55

@antonkesy

Description

@antonkesy

I've encountered a problem where not all my programs I've set in tmux_window_dir_programs are displayed correctly.

My config:

set -g @plugin 'ofirgall/tmux-window-name'
set -g @tmux_window_name_shells "['bash', 'fish', 'sh', 'zsh']"
set -g @tmux_window_dir_programs "['nvim', 'lvim', 'vim', 'vi', 'git', 'lazygit']"
set -g @tmux_window_name_show_program_args "False"
set -g @tmux_window_name_use_tilde "False"
set -g @tmux_window_name_max_name_len "40"

If I then open the same dir in different panes with: lvim, nvim, vi and lazygit, only nvim and vi are working as expected

Image

> where lvim
lvim: aliased to /home/ak/.local/bin/lvim
/home/ak/.local/bin/lvim

> where nvim
/usr/local/bin/nvim
/usr/bin/nvim
/bin/nvim

> where vi
/usr/bin/vi
/bin/vi

> where lazygit
/home/ak/go/bin/lazygit 

Might this be just a simple configuration mistake from my side?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions