Add full OSC 52 support to Alacritty configuration (#4603)

* Add full OSC 52 support to Alacritty configuration

* Simplify OSC 52 support addition in Alacritty config

---------

Co-authored-by: David Heinemeier Hansson <david@hey.com>
This commit is contained in:
Stefan Gründel
2026-02-20 17:32:37 +01:00
committed by GitHub
co-authored by David Heinemeier Hansson
parent a493fc8b96
commit 88c8695ee5
2 changed files with 14 additions and 0 deletions
+3
View File
@@ -3,6 +3,9 @@ general.import = [ "~/.config/omarchy/current/theme/alacritty.toml" ]
[env]
TERM = "xterm-256color"
[terminal]
osc52 = "CopyPaste"
[font]
normal = { family = "JetBrainsMono Nerd Font", style = "Regular" }
bold = { family = "JetBrainsMono Nerd Font", style = "Bold" }
+11
View File
@@ -0,0 +1,11 @@
echo "Add full OSC 52 support to Alacritty"
ALACRITTY_CONFIG=~/.config/alacritty/alacritty.toml
if [[ -f $ALACRITTY_CONFIG ]] && ! grep -q 'osc52' "$ALACRITTY_CONFIG"; then
cat >> "$ALACRITTY_CONFIG" << 'EOF'
[terminal]
osc52 = "CopyPaste"
EOF
fi