scripts/nvim.sh

8 lines
137 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