Skip to content

Commit 08bad95

Browse files
authored
Merge pull request #1510 from vim-jp/hh-update-os_dos
Update os_dos.{txt,jax}
2 parents 35babbb + f838a88 commit 08bad95

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

doc/os_dos.jax

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*os_dos.txt* For Vim バージョン 9.1. Last change: 2006 Mar 30
1+
*os_dos.txt* For Vim バージョン 9.1. Last change: 2024 Apr 25
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -332,6 +332,11 @@ PowerShell Core はクロスプラットフォームで動く別途ダウンロ
332332
'shellpipe' >%s 2>&1
333333
'shellredir' >%s 2>&1
334334

335+
Note: これらのオプションは、|.vimrc| ファイルを読み込んだ後にのみ設定される。
336+
特に、|-c| による 'shell' オプションの設定は、他のシェル関連の設定を有効にする
337+
には遅すぎる。コマンドライン経由でこのオプションをオーバーライドするには、
338+
|--cmd| を使用することを検討すること。
339+
335340
PowerShell コマンドの実行で時間がかかる場合には 'shellcmdflag' の先頭を
336341
"-NoProfile" にすることを試すこと。Note これにより PowerShell 環境のプロファイ
337342
ルでの設定が行われるのを防ぐ。

en/os_dos.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*os_dos.txt* For Vim version 9.1. Last change: 2006 Mar 30
1+
*os_dos.txt* For Vim version 9.1. Last change: 2024 Apr 25
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -330,6 +330,11 @@ following values:
330330
'shellpipe' >%s 2>&1
331331
'shellredir' >%s 2>&1
332332

333+
Note: those options are only set after reading the |.vimrc| file, in
334+
particular setting the 'shell' option via |-c| is too late to take effect for
335+
the other shell related settings. Consider using |--cmd| to override this
336+
option via the command line.
337+
333338
If you find that PowerShell commands are taking a long time to run then try
334339
with "-NoProfile" at the beginning of the 'shellcmdflag'. Note this will
335340
prevent any PowerShell environment setup by the profile from taking place.

0 commit comments

Comments
 (0)