Windows Terminal 配置記錄

2022-01-12 13:07:42 字數 765 閱讀 5162

幫助文件:

windows terminal正式版已支援右鍵選單,無需手動修改登錄檔。(update 2021-3-20)

terminal配置檔案,新增git bash

",

"commandline" : "c:\\program files\\git\\bin\\bash.exe --login -i",

"icon" : "c:\\program files\\git\\mingw64\\share\\git\\git-for-windows.ico",

"name" : "git bash",

"startingdirectory" : "~",

"closeonexit": "always"

},...]},

...}

注意:

git bash 需ctrl+d或exit推出,直接點 x 關閉標籤,無法正常儲存命令記錄。

參考:wsl起始目錄:

"startingdirectory" : "//wsl$/debian/root/"
powerline配置:

tutorials/powerline-setup

禁止azure控制台自動生成

"disabledprofilesources": ["windows.terminal.azure"],
按住alt點「設定」可開啟default.json

自帶的右鍵選單:

配置 Windows Terminal 步驟

安裝 oh my posh,可以在 windows terminal 中的 windows powershell7 中輸入以下命令 安裝過程中需要輸入 y 即可 install module oh my posh scope currentuser skippublishercheckinstall...

windows terminal踩坑記錄

1.安裝 windows terminal 官網有幾種安裝方式,我使用的是windows10 的microsoft store 在商店中搜尋windows terminal將看到以下頁面 注意 windows terminal需要windows 10 1903 內部版本18362 或更高版本 2.w...

愉快地使用Windows Terminal

有了windows terminal 你再也不需要其他任何終端了 參考 online guid 生成 配置示例 historysize 9001,name anaconda padding 0,0,0,0 snaponinput true,startingdirectory useacrylic f...