Removed 'which' requirement for the git check

This commit is contained in:
2026-08-20 15:39:43 +02:00
parent aca9aca449
commit 74edd07d68
+1 -1
View File
@@ -3,7 +3,7 @@ vim.api.nvim_exec2('language POSIX', {})
-- }}}
-- Plugins {{{
if os.execute('which git') == 0 then
if os.execute('git --version') == 0 then
vim.pack.add({'https://github.com/nvim-mini/mini.pick'})
pcall(function() require('mini.pick').setup() end)
end