Ansible playbook install script for Rust, Rust Analyzer and Helix with Kitty desktop integration #8841
Unanswered
David-Else
asked this question in
Show and tell
Replies: 2 comments
-
UPDATE! The reason the previous one did not always work was that the content: |
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Exec={{ ansible_env.HOME }}/.local/kitty.app/bin/kitty {{ ansible_env.HOME }}/.cargo/bin/hx %F
Name=Helix
Comment=Open in Helix using the Kitty terminal
Icon={{ ansible_env.HOME }}/.icons/helix.png
Categories=Utility;TerminalEmulator;
MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++;text/html;application/toml;text/x-python;application/json;application/javascript; This will likely be the case for any method of installing it, but I have not seen any error reports. Maybe nobody actually creates a |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks for this. One day I may automate installing Helix on servers I manage using Ansible, although that would just be downloading the the release binaries. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have created this script, it may help other people. Now you can install Rust and Helix master branch at the press of a button :)
Please suggest any improvements. At the moment you can pin it to any commit in master, but you could easily remove that feature. Would this be useful in the documentation or maybe in the repo?
NOTE: The official desktop file doesn't seem to work any more on Debian 12 (although I can find nothing wrong with it), so I made my own that works with Kitty out of the box.
NOTE: It skips installing Helix if you have Rust installed. The script could probably be made more logical if it were to be made more general purpose. It is currently designed to be ran once when setting up your computer for the first time and then skip steps that have been done already if ran again.
Beta Was this translation helpful? Give feedback.
All reactions