From 225e2f83947a6eb4449fddcae17c0a5eddbf76ee Mon Sep 17 00:00:00 2001 From: d0zingcat Date: Mon, 1 Dec 2025 11:23:12 +0800 Subject: [PATCH] feat: make alacritty enter workspace automatically Signed-off-by: d0zingcat --- alacritty/alacritty.toml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/alacritty/alacritty.toml b/alacritty/alacritty.toml index 9c23341..4cc793d 100644 --- a/alacritty/alacritty.toml +++ b/alacritty/alacritty.toml @@ -3,13 +3,12 @@ TERM = "alacritty" [general] import = ["~/.config/alacritty/tokyo-night.toml"] -working_directory = "~" live_config_reload = true [terminal] # OSC 52 剪贴板支持 osc52 = "CopyPaste" # Disabled, OnlyCopy, OnlyPaste, CopyPaste -shell = {program = "/bin/zsh"} +shell = { program = "/bin/zsh", args = ["-c", "cd ~/Workspace 2>/dev/null || true; exec zsh"] } [selection] semantic_escape_chars = ",│`|\"' ()[]{}<>" @@ -60,7 +59,6 @@ blink_timeout = 5 hide_when_typing = false bindings = [ { mouse = "Middle", action = "PasteSelection" }, - { mouse = "Right", action = "ExpandSelection" }, ] [hints]