aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2023-10-03 20:56:33 +0800
committercrupest <crupest@outlook.com>2023-10-03 23:25:33 +0800
commitfb15c46decfffe1521b31246ea811383a1ddeab2 (patch)
treefcec4fd204c8d2b31a0c6d5e9230657484736e9f
parentac17f43fa7d8e8f13c765d56f056c36c16c864bd (diff)
downloadcrupest-fb15c46decfffe1521b31246ea811383a1ddeab2.tar.gz
crupest-fb15c46decfffe1521b31246ea811383a1ddeab2.tar.bz2
crupest-fb15c46decfffe1521b31246ea811383a1ddeab2.zip
Update nvim configs. Use login bash.
-rw-r--r--configs/nvim/init.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/configs/nvim/init.lua b/configs/nvim/init.lua
index 63cea24..22a5630 100644
--- a/configs/nvim/init.lua
+++ b/configs/nvim/init.lua
@@ -20,7 +20,11 @@ if is_win then
let &shellredir = '2>&1 | %%{ "$_" } | Out-File %s; exit $LastExitCode'
let &shellpipe = '2>&1 | %%{ "$_" } | tee %s; exit $LastExitCode'
set shellquote= shellxquote=
-]])
+ ]])
+else
+ vim.cmd([[
+ let &shell='bash --login'
+ ]])
end
-- spellchecker: enable