Skip to content

Quote tmux session name in code sample#745

Merged
caarlos0 merged 1 commit intocharmbracelet:mainfrom
oalders:bash-quotes
Dec 6, 2024
Merged

Quote tmux session name in code sample#745
caarlos0 merged 1 commit intocharmbracelet:mainfrom
oalders:bash-quotes

Conversation

@oalders
Copy link
Copy Markdown
Contributor

@oalders oalders commented Dec 6, 2024

A tmux session name could contain a space. Quote the variable to avoid
the session name being split on spaces.

Changes

  • Update tmux session picker example in README to allow for session names which contain spaces

A tmux session name could contain a space. Quote the variable to avoid
the session name being split on spaces.
Copy link
Copy Markdown
Member

@meowgorithm meowgorithm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Solid bash skills. Well done.

@caarlos0 caarlos0 merged commit a5fb6b1 into charmbracelet:main Dec 6, 2024
@caarlos0
Copy link
Copy Markdown
Contributor

caarlos0 commented Dec 6, 2024

thank you!

@oalders oalders deleted the bash-quotes branch December 6, 2024 18:14
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.

3 participants