Skip to content

Commit

Permalink
Allow copy&paste of documented registry keys into Regedit
Browse files Browse the repository at this point in the history
Current documented registry path can't be easily used as a lookup in the default Windows Regedit registry editing tool
  - Forward slashes are not accepted by Regedit
  - nor do the full paths that include registry keys, only their parent address

This edits the message format so you could copy&paste
  • Loading branch information
eugenesvk authored and djc committed Mar 10, 2025
1 parent bbda4f3 commit 895a43a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cli/self_update.rs
Original file line number Diff line number Diff line change
Expand Up @@ -360,8 +360,8 @@ modifying the profile file{plural} located at:
macro_rules! pre_install_msg_win {
() => {
pre_install_msg_template!(
"This path will then be added to your `PATH` environment variable by
modifying the `HKEY_CURRENT_USER/Environment/PATH` registry key."
r#"This path will then be added to your `PATH` environment variable by
modifying the `PATH` registry key at `HKEY_CURRENT_USER\Environment`."#
)
};
}
Expand Down

0 comments on commit 895a43a

Please sign in to comment.