reattach-to-user-namespace

Reattach tmux sessions to user namespace for clipboard access

brewmacoslinux
Try with needOr install directly
Source

About

Reattach process (e.g., tmux) to background

Commands

reattach-to-user-namespace

Examples

Use with tmux to enable clipboard integration$ reattach-to-user-namespace tmux new-session -s main
Run a command within the user namespace$ reattach-to-user-namespace pbcopy < file.txt
Wrap existing tmux session for clipboard access$ reattach-to-user-namespace -l /bin/bash