Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pane name sometimes appears duplicated when spawning new tabs. #3394

Open
LechintanTudor opened this issue Jun 3, 2024 · 0 comments
Open

Comments

@LechintanTudor
Copy link

I use a fish function that runs whenever the current working directory changes to update the name of the active pane:

if set -q ZELLIJ
    function zellij_update_name --on-variable PWD
        if test $PWD = $HOME
            set -f directory '~'
        else
            set -f directory $(basename $PWD)
        end

        zellij action rename-pane $directory
    end

    zellij_update_name
end

Sometimes when creating a new tab, the pane title is duplicated, e.g. instead of the pane being named ~, it's named ~~, as seen in the screenshot below.
Screenshot from 2024-06-03 17-22-54

Somewhat related, it would be useful to be able to disable the automatic name assignment from Zellij.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant