差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン 次のリビジョン両方とも次のリビジョン | ||
windows:windows_terminal [2019/08/13 17:22] – ともやん | windows:windows_terminal [2020/03/09 06:45] – ともやん | ||
---|---|---|---|
行 1: | 行 1: | ||
+ | < | ||
+ | < | ||
+ | #setting pre { | ||
+ | overflow: scroll; | ||
+ | overflow-x: hidden; | ||
+ | font-size: 12px; | ||
+ | } | ||
+ | # | ||
+ | height: 300px; | ||
+ | overflow: scroll; | ||
+ | overflow-x: hidden; | ||
+ | font-size: 12px; | ||
+ | } | ||
+ | </ | ||
+ | </ | ||
====== Windows Terminal ====== | ====== Windows Terminal ====== | ||
Windows Terminal は Windows 10 向けの新しいコマンドプロンプトを提供する。Linux ターミナルのようにマルチタブなどの機能も提供されている。\\ | Windows Terminal は Windows 10 向けの新しいコマンドプロンプトを提供する。Linux ターミナルのようにマルチタブなどの機能も提供されている。\\ | ||
行 20: | 行 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 を追加する ==== | ||
行 31: | 行 131: | ||
</ | </ | ||
生成した **GUID** を使用して **profiles** を以下の様にすると **MSYS2 MinGW 64-bit** が上手く**タブ**になる。\\ | 生成した **GUID** を使用して **profiles** を以下の様にすると **MSYS2 MinGW 64-bit** が上手く**タブ**になる。\\ | ||
+ | <WRAP prewrap 100% # | ||
<file javascript profile.json> | <file javascript profile.json> | ||
{ | { | ||
行 55: | 行 156: | ||
}, | }, | ||
</ | </ | ||
+ | </ | ||
+ | {{: | ||
=== 参考文献 === | === 参考文献 === | ||
行 61: | 行 164: | ||
=== 失敗例 === | === 失敗例 === | ||
生成した **GUID** を使用して **profiles** を以下の様に追加してみたが、**MSYS2 MinGW 64-bit** は起動できるものの**タブ**にはならなかった。(別窓になってしまう)\\ | 生成した **GUID** を使用して **profiles** を以下の様に追加してみたが、**MSYS2 MinGW 64-bit** は起動できるものの**タブ**にはならなかった。(別窓になってしまう)\\ | ||
+ | <WRAP prewrap 100% # | ||
<file javascript profile.json> | <file javascript profile.json> | ||
{ | { | ||
行 85: | 行 189: | ||
}, | }, | ||
</ | </ | ||
+ | </ | ||
- | ==== デフォルトで起動するターミナルを **PowerShell** から **コマンドプロンプト(cmd)** に変更する ==== | + | ==== デフォルトで起動するターミナルを **PowerShell** から **コマンドプロンプト(cmd)** に変更する場合 |
**defaultProfile** に **profiles** の **guid** を設定すると変更できる。\\ | **defaultProfile** に **profiles** の **guid** を設定すると変更できる。\\ | ||
+ | <WRAP prewrap 100% # | ||
<code javascript> | <code javascript> | ||
" | " | ||
行 107: | 行 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> | ||
{ | { | ||
行 126: | 行 235: | ||
}, | }, | ||
</ | </ | ||
+ | </ | ||
+ | ===== 参考文献 ===== | ||
+ | [[https:// | ||
+ | [[https:// | ||