Expand description
Puts the marathon command on the user’s PATH when the app was
installed by dragging it out of the DMG, the one install that can’t
run a script. The app calls set_up once per location it runs from.
It links ~/.local/bin/marathon to the helper inside the app, and if
no shell profile mentions ~/.local/bin, adds one marked line to the
login profile of the user’s shell. Homebrew installs are left alone:
Homebrew links the command itself.
Structs§
Constants§
- PATH_
LINE - The line added to a shell profile, after a comment that says who added it.
Functions§
- set_up
- Links the command and makes sure the shell can find it.