Repository navigation
Installation automatique de lcs dans le PATH (Windows, macOS, Linux) - #1
Merged
Merged
Conversation
…al/bin sous le nom lcs et ajoute ce dossier au PATH (registre sous Windows, profil du shell sous macOS et Linux), au double-clic, à sa première commande ou par lcs install ; version 0.5.1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Le fichier téléchargé (
lcs-windows-x64.exe,lcs-linux-x64,lcs-macos-arm64) ne répondait pas à la commandelcs: rien ne le copiait sous ce nom ni n'ajoutait son dossier au PATH.src/install.rs: copie le binaire dans~/.local/binsous le nomlcset ajoute ce dossier au PATH de l'utilisateur. Sous Windows, par la valeurPathdeHKCU\Environment(contenu et type conservés, rien n'est écrit au moindre doute à la lecture). Sous macOS et Linux, par le profil du shell (.zshenv,.bashrc,.profile, fish).lcsne répond dans le PATH.lcs installle refait à la demande.tests/install.shettests/install.ps1: installation réelle vérifiée sur les trois systèmes, dans la CI et avant chaque release.🤖 Generated with Claude Code