Skip to content

Add save command strategy to preserve raw command in zsh #546

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Sheile
Copy link

@Sheile Sheile commented Jul 4, 2025

Summary

The existing linux_procfs.sh save-command strategy expands shell globs (e.g. *, ?) before tmux-resurrect records them. This PR introduces a new strategy based on Zsh’s preexec hook, capturing the raw (unexpanded) command line.

@Sheile Sheile changed the title Add save command strategy to preserveraw command in zsh Add save command strategy to preserve raw command in zsh Jul 4, 2025
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.

1 participant