From c8797e7b9030afd39ea24ca0d88282ce9ded9d84 Mon Sep 17 00:00:00 2001 From: Bachourian Rafael Date: Sat, 7 Dec 2024 12:25:09 +0100 Subject: [PATCH] use nu as default shell if possible --- init.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/init.lua b/init.lua index b796867e..48c420ac 100644 --- a/init.lua +++ b/init.lua @@ -93,6 +93,11 @@ vim.g.maplocalleader = ' ' -- Set to true if you have a Nerd Font installed and selected in the terminal vim.g.have_nerd_font = true +-- Set your default shell +if vim.fn.executable 'nu' == 1 then + vim.opt.shell = 'nu' +end + -- [[ Setting options ]] -- See `:help vim.opt` -- NOTE: You can change these options as you wish!