scripts/nvim.sh

8 lines
104 B
Bash

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