配置 Windows Terminal 步驟

2022-09-10 11:12:16 字數 904 閱讀 3935

安裝 oh my posh,可以在 windows terminal 中的 windows powershell7 中輸入以下命令(安裝過程中需要輸入 y 即可)

install-module oh-my-posh -scope currentuser -skippublishercheck
install-module posh-git -scope currentuser
install-module -name psreadline -allowprerelease -scope currentuser -force -skippublishercheck
notepad.exe $profile
import-module posh-git

import-module oh-my-posh

set-poshprompt -theme material

注意:其中的set-poshprompt-theme可以從 oh my posh 提供的主題中自我選擇

補充:oh my posh **:

至此,安裝已經完成,重啟 terminal 就能看到了

set-psreadlinekeyhandler -key tab -function menucomplete
安裝圖示庫

install-module -name terminal-icons -repository psgallery
使用圖示

import-module -name terminal-icons

linux配置 網路配置

ip位址,子網掩碼,閘道器 設定ip位址,子網掩碼並啟用 ifconfig eth0 10.192.77.250 netmask 255.255.255.0 up 注 ip,掩碼,閘道器都設定到 etc sysconfig network scripts ifcfg eth0裡面了。設定多ip 可以...

elementui配置 element配置

vue elementui 配置 第一步 安裝elementui node命令 npm i element ui s 第二步 在man.js中配置 import elementui from element ui import element ui lib theme chalk index.css...

Thinkphp 配置 讀取配置

無論何種配置檔案,定義了配置檔案之後,都統一使用系統提供的c方法 可以借助config單詞來幫助記憶 來讀取已有的配置。用法 c 引數名稱 例如,讀取當前的url模式配置引數 model c url model 由於配置引數不區分大小寫,因此下面的寫法是等效的 model c url model 但...