差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン 次のリビジョン両方とも次のリビジョン | ||
windows:windows_terminal [2019/08/13 17:26] – ともやん | windows:windows_terminal [2020/03/09 06:45] – ともやん | ||
---|---|---|---|
行 1: | 行 1: | ||
- | <ifauth !@loggedinusers>< | ||
- | <script async src="// | ||
- | < | ||
- | | ||
- | google_ad_client: | ||
- | enable_page_level_ads: | ||
- | }); | ||
- | </ | ||
< | < | ||
< | < | ||
- | #result | + | #setting |
- | height: 200px; | + | |
overflow: scroll; | overflow: scroll; | ||
overflow-x: hidden; | overflow-x: hidden; | ||
+ | font-size: 12px; | ||
+ | } | ||
+ | # | ||
+ | height: 300px; | ||
+ | overflow: scroll; | ||
+ | overflow-x: hidden; | ||
+ | font-size: 12px; | ||
} | } | ||
</ | </ | ||
行 37: | 行 35: | ||
Windows Terminal の設定はタブのドロップダウンから **Settings** を選択して **json ファイル**を編集する。\\ | Windows Terminal の設定はタブのドロップダウンから **Settings** を選択して **json ファイル**を編集する。\\ | ||
{{: | {{: | ||
+ | |||
+ | ==== 設定例 ==== | ||
+ | <WRAP prewrap 100% # | ||
+ | <file javascript profile.json> | ||
+ | // To view the default settings, hold " | ||
+ | // For documentation on these settings, see: https:// | ||
+ | |||
+ | { | ||
+ | " | ||
+ | |||
+ | " | ||
+ | |||
+ | " | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | " | ||
+ | { | ||
+ | " | ||
+ | { | ||
+ | // Put settings here that you want to apply to all profiles | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | //" | ||
+ | //" | ||
+ | //" | ||
+ | //" | ||
+ | //" | ||
+ | //" | ||
+ | //" | ||
+ | }, | ||
+ | " | ||
+ | [ | ||
+ | { | ||
+ | // Make changes here to the powershell.exe profile | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | { | ||
+ | // Make changes here to the cmd.exe profile | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | ] | ||
+ | }, | ||
+ | |||
+ | // Add custom color schemes to this array | ||
+ | " | ||
+ | |||
+ | // Add any keybinding overrides to this array. | ||
+ | // To unbind a default keybinding, set the command to " | ||
+ | " | ||
+ | } | ||
+ | </ | ||
+ | </ | ||
+ | ※**backgroundImage** は 400 x 300px の png 画像を使用。\\ | ||
==== MSYS2 MinGW 64-bit を追加する ==== | ==== MSYS2 MinGW 64-bit を追加する ==== | ||
行 48: | 行 131: | ||
</ | </ | ||
生成した **GUID** を使用して **profiles** を以下の様にすると **MSYS2 MinGW 64-bit** が上手く**タブ**になる。\\ | 生成した **GUID** を使用して **profiles** を以下の様にすると **MSYS2 MinGW 64-bit** が上手く**タブ**になる。\\ | ||
+ | <WRAP prewrap 100% # | ||
<file javascript profile.json> | <file javascript profile.json> | ||
{ | { | ||
行 72: | 行 156: | ||
}, | }, | ||
</ | </ | ||
+ | </ | ||
{{: | {{: | ||
行 79: | 行 164: | ||
=== 失敗例 === | === 失敗例 === | ||
生成した **GUID** を使用して **profiles** を以下の様に追加してみたが、**MSYS2 MinGW 64-bit** は起動できるものの**タブ**にはならなかった。(別窓になってしまう)\\ | 生成した **GUID** を使用して **profiles** を以下の様に追加してみたが、**MSYS2 MinGW 64-bit** は起動できるものの**タブ**にはならなかった。(別窓になってしまう)\\ | ||
+ | <WRAP prewrap 100% # | ||
<file javascript profile.json> | <file javascript profile.json> | ||
{ | { | ||
行 103: | 行 189: | ||
}, | }, | ||
</ | </ | ||
+ | </ | ||
- | ==== デフォルトで起動するターミナルを **PowerShell** から **コマンドプロンプト(cmd)** に変更する ==== | + | ==== デフォルトで起動するターミナルを **PowerShell** から **コマンドプロンプト(cmd)** に変更する場合 |
**defaultProfile** に **profiles** の **guid** を設定すると変更できる。\\ | **defaultProfile** に **profiles** の **guid** を設定すると変更できる。\\ | ||
+ | <WRAP prewrap 100% # | ||
<code javascript> | <code javascript> | ||
" | " | ||
行 125: | 行 213: | ||
], | ], | ||
</ | </ | ||
+ | </ | ||
+ | |||
**defaultProfile** を **{61c54bbd-c2c6-5271-96e7-009a87ff44bf}**(Windows PowerShell) から **{0caa0dad-35be-5f56-a8ff-afceeeaa6101}**(cmd) に変更する。\\ | **defaultProfile** を **{61c54bbd-c2c6-5271-96e7-009a87ff44bf}**(Windows PowerShell) から **{0caa0dad-35be-5f56-a8ff-afceeeaa6101}**(cmd) に変更する。\\ | ||
+ | <WRAP prewrap 100% # | ||
<file javascript profile.json> | <file javascript profile.json> | ||
{ | { | ||
行 144: | 行 235: | ||
}, | }, | ||
</ | </ | ||
+ | </ | ||
+ | ===== 参考文献 ===== | ||
+ | [[https:// | ||
+ | [[https:// | ||