scripts/nvim.sh

8 lines
137 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
flatpak run io.neovim.nvim $@ 2>/dev/null
else
nvim $@
fi