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:
co-authored by
David Heinemeier Hansson
parent
a493fc8b96
commit
88c8695ee5
@@ -3,6 +3,9 @@ general.import = [ "~/.config/omarchy/current/theme/alacritty.toml" ]
|
|||||||
[env]
|
[env]
|
||||||
TERM = "xterm-256color"
|
TERM = "xterm-256color"
|
||||||
|
|
||||||
|
[terminal]
|
||||||
|
osc52 = "CopyPaste"
|
||||||
|
|
||||||
[font]
|
[font]
|
||||||
normal = { family = "JetBrainsMono Nerd Font", style = "Regular" }
|
normal = { family = "JetBrainsMono Nerd Font", style = "Regular" }
|
||||||
bold = { family = "JetBrainsMono Nerd Font", style = "Bold" }
|
bold = { family = "JetBrainsMono Nerd Font", style = "Bold" }
|
||||||
|
|||||||
@@ -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
|
||||||
Reference in New Issue
Block a user