diff --git a/runtime/doc/starting.txt b/runtime/doc/starting.txt index c0da5e3dfb..ebd60febcf 100644 --- a/runtime/doc/starting.txt +++ b/runtime/doc/starting.txt @@ -1,4 +1,4 @@ -*starting.txt* For Vim version 9.1. Last change: 2024 Jul 04 +*starting.txt* For Vim version 9.1. Last change: 2024 Jul 08 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1257,7 +1257,7 @@ To change it later, use a ":let" command like this: > In case you need the value of $VIMRUNTIME in a shell (e.g., for a script that greps in the help files) you might be able to use this: > - VIMRUNTIME=`vim -e -T dumb --cmd 'exe "set t_cm=\"|echo $VIMRUNTIME|quit' | tr -d '\015' ` + VIMRUNTIME=$(vim -es '+put=$VIMRUNTIME|print|quit!') Don't set $VIMRUNTIME to an empty value, some things may stop working.