Skip to main content

Why does this script have an underscore?

ID
f882593
date
2022-05-14 20:06:48+00:00
author
Alex Chan <alex@alexwlchan.net>
parent
ff64d78
message
Why does this script have an underscore?
changed files
1 file, 4 additions

Changed files

_install-rust-bin (3408) → _install-rust-bin (3623)

diff --git a/_install-rust-bin b/_install-rust-bin
index a645581..39d0589 100755
--- a/_install-rust-bin
+++ b/_install-rust-bin
@@ -11,6 +11,10 @@
 # This script gets the latest version of a binary from GitHub and
 # adds it to my $PATH.
 #
+# This script isn't meant to be run directly (hence the underscore) --
+# I have other scripts that invoke it (e.g. install-vfd), so I can find
+# those scripts with autocomplete in my shell, even on a new machine.
+#
 # TODO: I publish macOS/Windows/Linux binaries, but this script only
 # fetches the macOS binary.  In theory, it could detect which OS it's
 # running on and pick the right binary.