use nu as default shell if possible

This commit is contained in:
Bachourian Rafael 2024-12-07 12:25:09 +01:00 committed by Reathe
parent 77cca48335
commit 2e481f6f37
1 changed files with 5 additions and 0 deletions

View File

@ -93,6 +93,11 @@ vim.g.maplocalleader = ' '
-- Set to true if you have a Nerd Font installed and selected in the terminal -- Set to true if you have a Nerd Font installed and selected in the terminal
vim.g.have_nerd_font = true vim.g.have_nerd_font = true
-- Set your default shell
if vim.fn.executable 'nu' == 1 then
vim.opt.shell = 'nu'
end
-- [[ Setting options ]] -- [[ Setting options ]]
-- See `:help vim.o` -- See `:help vim.o`
-- NOTE: You can change these options as you wish! -- NOTE: You can change these options as you wish!