diff options
| author | Ibrahim Muftee <ibrahim@muftee.net> | 2024-06-04 14:21:27 -0500 |
|---|---|---|
| committer | Ibrahim Muftee <ibrahim@muftee.net> | 2026-07-01 00:23:31 -0400 |
| commit | 0f11cd33ec0c71255ddb0965cd768b3dfe844804 (patch) | |
| tree | 87f491e16a0b4a0979df3595ca15b63e18c23960 | |
| parent | 268d3285b4224815071aecef0c02b8241fe054a3 (diff) | |
feat(nvim): add template to use vim.opt.shell
| -rw-r--r-- | dot_config/nvim/lua/ibrahim/set.lua.tmpl (renamed from dot_config/nvim/lua/ibrahim/set.lua) | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/dot_config/nvim/lua/ibrahim/set.lua b/dot_config/nvim/lua/ibrahim/set.lua.tmpl index 9abd23d..4d47d70 100644 --- a/dot_config/nvim/lua/ibrahim/set.lua +++ b/dot_config/nvim/lua/ibrahim/set.lua.tmpl @@ -1,5 +1,15 @@ +---@diagnostic disable: undefined-global +-- vim:ft=lua + local opt = vim.opt +-- Set default shell +{{- if eq .chezmoi.os "windows" }} +opt.shell = "pwsh" +{{ else }} +opt.shell = "zsh" +{{ end }} + -- Begin searching as I type a search string instead of waiting for me to press Enter opt.incsearch = true |
