From 2e481f6f378f2cf746eb1c96a7a4ff4c488ee734 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 61b67c30..513f8ee2 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.o` -- NOTE: You can change these options as you wish!