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

zellij action rename-tab #3359

Closed
n8henrie opened this issue May 17, 2024 · 6 comments
Closed

zellij action rename-tab #3359

n8henrie opened this issue May 17, 2024 · 6 comments

Comments

@n8henrie
Copy link

n8henrie commented May 17, 2024

Issue description

Sorry for the premature submission -- fatfinger.

I'm trying to rename a tab from within zellij, but it's telling me I don't have an active session for some reason.

The docs make it seem like this should work: https://zellij.dev/documentation/cli-actions.html#rename-tab

Am I doing something wrong?

Minimal reproduction

$ sw_vers
ProductName:            macOS
ProductVersion:         14.4.1
BuildVersion:           23E224
$ zellij --version
zellij 0.40.1
$ zellij action rename-tab foo
There is no active session!

Other relevant information

Screenshot 2024-05-17 at 16 56 29
@imsnif
Copy link
Member

imsnif commented May 18, 2024

What are you getting with echo $ZELLIJ_SESSION_NAME?

@n8henrie
Copy link
Author

$ zellij action rename-tab foo
There is no active session!
$ echo $ZELLIJ_SESSION_NAME
main

@n8henrie
Copy link
Author

Hmm, also other commands:

$ zellij plugin -- file:~/.config/zellij/plugins/room.wasm
There is no active session!

@n8henrie
Copy link
Author

Hmmm, detaching from the session and restarting the session seems to have resolved the issue (I can now rename tabs).

Unfortunately it also lost all my carefully named and organized tabs (trying to migrate from tmux). My named main session appears nowhere in the session manager (including the Resurrect Session tab). No idea what happened there.

@Zykino
Copy link
Contributor

Zykino commented May 19, 2024

Maybe you started your session in 0.40.0 and then upgraded to 0.40.1? Zellij cannot upgrade session from one version to another.

@n8henrie
Copy link
Author

That could be!

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

3 participants