leanprover-community / leanprover-community/leanprover-community.github.io

`source` in install/project

Open
#95 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
CSS
Stars
84
Forks
190
Avg merge
1d 12h
Merged PRs (30d)
12

Description

in https://leanprover-community.github.io/install/project.html, there is a line

  • If you have not logged in since you installed Lean and mathlib, then you may need to first type source ~/.profile or source ~/.bash_profile depending on your OS.

Someone just asked about this in the Xena Discord, about an error on Windows, which was bash: /c/Users/<their username>/.profile: No such file or directory. I told them to just close Git Bash and reopen it, which should do the same thing. Weirdly, if I do ls -a in Git Bash on my computer, I do see ~/.profile.

It might be worth mentioning explicitly what to do/expect on each OS, since right now it's expecting users to already be familiar with the command line. I would make a PR but it's been years since I last used Mac/Linux, and Windows behaviour seems to vary?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with install/project.html and review the quoted source ~/.profile and source ~/.bash_profile guidance alongside the Git Bash error described in the issue. Check the expected behavior on each referenced OS or shell, then update the page so users know what command or restart action to take and what successful setup should look like.

Written by the indexing model from the issue text.

Assessment

Tech stack
bash
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
Half a day
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.