Hide errors

This commit is contained in:
John Mertz 2022-12-12 23:00:17 -05:00
parent 8027fc207c
commit e16a4d9851
1 changed files with 1 additions and 1 deletions

View File

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