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

feat: support the command of auto-start script for shell #1281

Merged
merged 4 commits into from
Apr 20, 2022
Merged

feat: support the command of auto-start script for shell #1281

merged 4 commits into from
Apr 20, 2022

Conversation

jaeheonji
Copy link
Member

@jaeheonji jaeheonji commented Mar 29, 2022

This PR resolve #1109

Background

there was a need from people who wished to use zellij as the basis at the start of the shell. like #1091, #1268, #1273
The document already provides content related to this, but it does not seem to give people a consistent experience.

Therefore, providing settings through the CLI, such as #1109 and #1091, is considered a very good idea.

This is still a draft, but it will provide a variety of shell scripts. (bash, zsh, fish, etc)
Also, please let me know if you have any useful features to include in the script.

example in fish:

if status is-interactive
    ...

    # setup auto-start
    zellij setup --generate-auto-start fish | source
end

@jaeheonji jaeheonji marked this pull request as ready for review April 18, 2022 13:30
@jaeheonji jaeheonji merged commit be0af7e into zellij-org:main Apr 20, 2022
@jaeheonji jaeheonji deleted the auto-start-script branch April 20, 2022 15:28
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feature: supports command to set auto-start script
1 participant