2024-06-05 15:49:29 +03:00
|
|
|
#!/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/ \
|
2024-10-05 10:18:03 +03:00
|
|
|
&& export PATH=$PATH:/home/wynd/.nimble/bin/ \
|
2024-06-05 15:49:29 +03:00
|
|
|
&& env -u WAYLAND_DISPLAY alacritty -e nvim "$1"
|