summaryrefslogtreecommitdiff
path: root/dot_config/wezterm/chezmoi.lua.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'dot_config/wezterm/chezmoi.lua.tmpl')
-rw-r--r--dot_config/wezterm/chezmoi.lua.tmpl14
1 files changed, 14 insertions, 0 deletions
diff --git a/dot_config/wezterm/chezmoi.lua.tmpl b/dot_config/wezterm/chezmoi.lua.tmpl
new file mode 100644
index 0000000..a2fc09e
--- /dev/null
+++ b/dot_config/wezterm/chezmoi.lua.tmpl
@@ -0,0 +1,14 @@
+-- chezmoi.lua
+--
+-- Contains Chezmoi-templated tweaks to Wezterm.
+-- {{/* This file supports Go's text/template language. */}}
+
+local M = {}
+
+{{ if eq .chezmoi.os "windows" -}}
+M.shell = "pwsh"
+{{ else }}
+M.shell = "bash"
+{{ end -}}
+
+return M