#!/bin/sh # For some unexplainable reason (probably some GNOME "feature") opening nvim from a file manager (any) # via its .desktop file doesn't fully load the user's PATH so we forcing it # This doesn't happen when opening from a terminal however. export PATH=$PATH:/home/wynd/.asdf/shims/ \ && env -u WAYLAND_DISPLAY alacritty -e nvim "$1"