-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gvim appimage: run vim if called as vim; work with extracted appimage #67
Comments
Would you consider making a PR for this? |
yes please. I'd appreciate it. |
I've pushed PR #68; it's a little complicated, comments in the commit message (identical to PR message). Summary:
I've tested by regenerating Should I add a separate |
chrisbra
pushed a commit
that referenced
this issue
Mar 28, 2024
appimage.sh: detect vim/gvim self name related: #67 Signed-off-by: Christian Brabandt <[email protected]>
closing as fixed by #68 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The GVim appimage always tries to run as
gvim
(even if called through a symlink namedvim
, and even if no X11$DISPLAY
is set). This is becauseAppRun.wrapped
tries firstCutting through all the cruft probably generated by
linuxdeploy
(twobash
exec's even though nobash
features are needed, the"${@+"$@"}"
workaround for 1990's Bash), here's a simplerAppRun
that works as vim when the appimage is called asvim
. As a bonus thisAppRun
works when symlinked from an extracted appimage (hidden optiongvim.appimage --appimage-extract
available with all appimages)(note: updated after further investigation & #68)
The text was updated successfully, but these errors were encountered: