Skip to main content

Module install_prompt

Module install_prompt 

Source
Expand description

Post-init / post-setup helper that offers to install fdl globally (~/.local/bin/fdl) so the user can drop the ./ prefix in subsequent invocations.

Deliberately conservative: it skips itself when the current binary already lives at the target path, when a different fdl already exists there, or when no HOME is available. Users who decline the prompt get a one-line reminder.

Functionsยง

offer_global_install
Offer to install the running fdl binary into ~/.local/bin/fdl.