feat(zsh): enable osc52 copy

This commit is contained in:
yeti 2025-04-17 22:54:23 +01:00
parent 3ce92a45d1
commit f713f338db

View File

@ -448,6 +448,13 @@ set -g status-right "#{E:@catppuccin_status_session}"
bind-key p send-keys 'selected=$(find "${1:-.}" -type f \( -iname "*.pdf" -o -iname "*.epub" -o -iname "*.mobi" \) | fzf --preview "zathura {} & sleep 1 && swaymsg \"[app_id=Alacritty] focus\"" --preview-window=right,0) && zathura "${selected}"
# OSC52 enable
set -g set-clipboard on
set -g allow-passthrough on
# Enable truecolor for compatible terminals
set -gs terminal-features ',rxvt-unicode-256color:clipboard'
# -- custom variables ----------------------------------------------------------
# to define a custom #{foo} variable, define a POSIX shell function between the