From 986af304bea6faa08469f157879aac8a2b4f9a4e Mon Sep 17 00:00:00 2001 From: Yuto Tanaka Date: Fri, 26 Jan 2024 00:28:05 +0900 Subject: [PATCH] Fix alacritty config --- dot_config/alacritty/general.toml.tmpl | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/dot_config/alacritty/general.toml.tmpl b/dot_config/alacritty/general.toml.tmpl index b8fce911a..ed28067f1 100644 --- a/dot_config/alacritty/general.toml.tmpl +++ b/dot_config/alacritty/general.toml.tmpl @@ -6,13 +6,9 @@ import = [ ] working_directory = "None" live_config_reload = true -{{ if (eq .chezmoi.os "linux") -}} -ipc_socket = true -{{ end }} - +{{ if (eq .chezmoi.os "windows") -}} [shell] -{{ if (eq .chezmoi.os "linux") -}} -program = "$SHELL" -{{ else -}} program = "pwsh" +{{ else if (eq .chezmoi.os "linux") -}} +ipc_socket = true {{ end }}