first commit
This commit is contained in:
commit
0610f4aeab
130 changed files with 9897 additions and 0 deletions
12
fn/-z4h-tmux-bypass
Normal file
12
fn/-z4h-tmux-bypass
Normal file
|
@ -0,0 +1,12 @@
|
|||
#!/usr/bin/env zsh
|
||||
|
||||
local x
|
||||
builtin printf -v x "$@"
|
||||
|
||||
(( _z4h_can_save_restore_screen )) && x+=$'\ePtmux;'${x//$'\e'/$'\e\e'}$'\e\\'
|
||||
|
||||
if [[ -t 1 ]]; then
|
||||
print -rn -- "$x"
|
||||
elif [[ -v _z4h_tty_fd ]]; then
|
||||
print -rnu $_z4h_tty_fd -- "$x"
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue