scripts/nvim.sh

8 lines
143 B
Bash
Raw Normal View History

#!/bin/bash
2022-12-13 04:00:17 +00:00
if [ -e /bin/which ] && [ "`which flatpak 2>/dev/null`" ]; then
2023-01-07 13:16:47 +00:00
flatpak run io.neovim.nvim $@ 2>/dev/null
else
2023-01-07 13:16:47 +00:00
nvim $@
fi