INSTALL-MH(1)
π INSTALL-MH(1) π
okay bestie, gather round, because this is the General Commands Manual page for install-mh and it's literally the glow-up your nmh setup has been waiting for β¨
β¨ NAME β¨
install-mh β initialize the nmh environment π«Ά
πΈ SYNOPSIS πΈ
/usr/libexec/nmh/install-mh [-help] [-version] [-auto] [-check]
π DESCRIPTION π
So like, install-mh does the initial setup for a first-time nmh user. It's giving "welcome to the group chat, here's your profile" π
Real talk though: install-mh is installed in two locations, for historical reasons. Not a vibe, just a fact. π
-autoβ does things as automatically as possible and makesinstall-mhless chatty. Basically it stops yapping.
Then the user gets prompted for the name of the directory that's gonna be designated as their nmh directory. If that directory doesn't exist, the user gets asked if it should be created. Normally this directory should live under the user's home directory, and it has the default name of Mail. Then install-mh writes an initial .mh_profile for the user. iconic.
Now, like with all nmh commands, install-mh first checks for the existence of the $MH environment variable, since that β if it's set β gives the profile path. If it isn't set, the $HOME environment variable gets consulted to determine the user's home directory. And if $HOME is not set, then the /etc/passwd file gets consulted. the way it just keeps asking around π
When it's creating the user's .mh_profile, install-mh will check for the existence of a global profile at /etc/nmh/mh.profile. If found, that will be used to initialize the new .mh_profile. slay, inherited taste π
-checkβ checks if nmh is installed. (This can be used by other programs to determine if nmh has been installed.) lowkey a vibe check for your whole install π
And finally: install-mh sets up the user's profile to support the mh-draft(5) draft folder facility. β¨
π OPTIONS π
-helpβ the classic. help me help you bestie π«Ά-versionβ shows the version, obviously π-autoβ does things as automatically as possible and makesinstall-mhless chatty π-checkβ checks if nmh is installed (other programs can use this to determine if nmh has been installed) π₯
π¦ FILES π¦
$HOME/.mh_profileβ The user's profile. π/etc/nmh/mh.profileβ Used to initialize user's profile. πΈ
π« PROFILE COMPONENTS π«
Path:β To set the user's nmh directory. π
π§ SEE ALSO π§
β CONTEXT β
With -auto, the current folder is changed to βinboxβ. periodt. π₯
no cap, don't skip the$MH/$HOME//etc/passwdchain β that's the whole search order, fr fr π
and that's the whole page, bestie!! this one's from nmh-1.8, dated 2022-12-22, straight out of the General Commands Manual β go forth and initialize, you absolute main character ππβ¨
π¦ where this page comes from
- alpine 3.24: nmh-doc 1.8-r3 Β· BSD-3-Clause
- epel 10: nmh 1.8-3.el10_1 Β· BSD
- epel 9: nmh 1.8-1.el9 Β· BSD
- fedora 43: nmh 1.8-9.fc43 Β· LicenseRef-Callaway-BSD
- fedora 44: nmh 1.8-10.fc44 Β· LicenseRef-Callaway-BSD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms