change how bash path is set

This commit is contained in:
Dario48 2026-04-14 15:21:16 +02:00
commit 65724f2aec

View file

@ -3,7 +3,7 @@ vim.opt.softtabstop = 0
vim.opt.shiftwidth = 0
vim.opt.smartindent = true
vim.opt.shell = "/bin/bash"
vim.opt.shell = vim.system({ "which", "bash" }, { text = true }):wait().stdout
vim.opt.linebreak = true
vim.cmd("set wrap smoothscroll")