Skip to content
Myr

docs: quote tmux session name in code sample (#745)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

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

authored by Olaf Alders · committed by GitHub · parent 29250f8 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:README.md+1 added-1 removed
397 unmodified lines
398- Connect to a `tmux` session399400```bash401SESSION=$(tmux list-sessions -F \#S | gum filter --placeholder "Pick session...")402tmux switch-client -t $SESSION || tmux attach -t $SESSION402tmux switch-client -t "$SESSION" || tmux attach -t "$SESSION"403```404405- Pick a commit hash from `git` history406
59 unmodified lines