]> git.ipfire.org Git - thirdparty/vim.git/commit
runtime(doc): Correct shell command to get $VIMRUNTIME into shell
authorShane Harper <shane@shaneharper.net>
Mon, 8 Jul 2024 18:59:33 +0000 (20:59 +0200)
committerChristian Brabandt <cb@256bit.org>
Mon, 8 Jul 2024 18:59:33 +0000 (20:59 +0200)
commitb3c232215d1d3733c6b7fa9748c0c8d79fd87b5c
tree03e4dec2cbe2ee515862d1e0c4f55b1ef411db96
parent5285b3cd297826a8c90eb0537c20762f66c5ca4d
runtime(doc): Correct shell command to get $VIMRUNTIME into shell

The original shell command could set the VIMRUNTIME variable to an
invalid path.
    - since v9.0.0592 trailing spaces were typically added making the
      path invalid. (I observed that spaces were added if the length of
      the path wasn't equal to one less than an integer multiple of the
      number of display columns.)
    - newline character/s would be added, making the path invalid, if
      the path was longer than the number of display columns.

The new command is shorter than the original command.

closes: #15184

Signed-off-by: Shane Harper <shane@shaneharper.net>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/doc/starting.txt