fish-shell/share
Johannes Altmanninger 90b2c95bbc fish_clipboard_copy: bypass tmux, write OSC 52 to the underlying terminal
For security reasons, some terminals require explicit permission from the
user to interpret OSC 52. One of them is [tmux] but that one usually runs
inside another terminal. This means we can usually write directly to the
underlying terminal, bypassing tmux and the need for user configuration.

This only works if the underlying terminal is writable to the fish user,
which may not be the case if we switched user. For this reason, keep writing
to stdout as well, which should work fine if tmux is configured correctly.

[tmux]: https://github.com/tmux/tmux/wiki/Clipboard
2022-10-24 22:45:45 +02:00
..
completions Add nvme completions 2022-10-22 17:16:14 +01:00
functions fish_clipboard_copy: bypass tmux, write OSC 52 to the underlying terminal 2022-10-24 22:45:45 +02:00
groff workaround broken groff man page config 2016-10-19 13:43:04 -07:00
tools disco prompt: Pad hash 2022-08-27 16:38:36 +02:00
__fish_build_paths.fish.in Rename "snippets" to "conf" internally, and document them as snippets 2016-04-06 09:33:09 +08:00
config.fish Store the vendor directories in global variables 2022-10-19 20:06:35 +02:00
lynx.lss Install custom LSS script to /usr/local/share/fish on make install 2017-09-26 14:31:11 -05:00