OSX High Sierra
Tmux 2.8
zsh 5.7.1 (x86_64-apple-darwin17.7.0)
antigen / oh-my-zsh
The line tee >(tmux set-buffer -- $(cat -)) | _zsh_system_clipboard_set
returns a usage error when used with multiple words
usage: set-buffer [-a] [-b buffer-name] [-n new-buffer-name] data
I notice this particularly when using 'D' to delete to end of line.
I fixed this by changing the line to
tee >(tmux set-buffer -- "$(cat -)") | _zsh_system_clipboard_set
My system:
OSX High Sierra Tmux 2.8 zsh 5.7.1 (x86_64-apple-darwin17.7.0) antigen / oh-my-zsh
The line
tee >(tmux set-buffer -- $(cat -)) | _zsh_system_clipboard_set
returns a usage error when used with multiple wordsusage: set-buffer [-a] [-b buffer-name] [-n new-buffer-name] data
I notice this particularly when using 'D' to delete to end of line.
I fixed this by changing the line to
tee >(tmux set-buffer -- "$(cat -)") | _zsh_system_clipboard_set