scripts/nvim.sh

8 lines
143 B
Bash
Executable File

#!/bin/bash
if [ -e /bin/which ] && [ "`which flatpak 2>/dev/null`" ]; then
flatpak run io.neovim.nvim $@ 2>/dev/null
else
nvim $@
fi