My Config for Wezterm emulator terminal using windows powershell
| Tool | Config File | Description |
|---|---|---|
| Wezterm | wezterm/wezterm.lua |
Terminal emulator with custom theme, keybindings, and tab styling |
| PowerShell | WindowsPowerShell/Microsoft.PowerShell_profile.ps1 |
Shell profile with oh-my-posh, posh-git, PSReadLine |
| oh-my-posh | oh-my-posh/stealth.omp.json |
Custom prompt theme |
| Fastfetch | fastfetch/config.jsonc |
System information display |
- PowerShell
- Recommended using Powershell version
7, Check powershell version with command$PSVersionTablethe result must be like this:
Name Value ---- ----- PSVersion 7.6.1 <-- version 7.0.0+ Recommended PSEdition Core GitCommitId 7.6.1
- If your powershell version <
7. So you need update or upgrade to version7, upgrade with Windows Store or from link by offical microsofthttps://apps.microsoft.com/detail/9MZ1SNWT0N5D?hl=en-us&gl=US&ocid=pdpshare. Powershell. powershell.exeWindows PowerShell (legacy), whilepwsh.exerefers to PowerShell Core or PowerShell 7+.
- Recommended using Powershell version
- PowerShell Modules:
- oh-my-posh : download using winget
winget install JanDeDobbeleer.OhMyPosh --source winget - posh-git : install or update the module posh-git
- PSReadLine : install or update the module PSReadLine
- oh-my-posh : download using winget
- Wezterm: Download from wezterm.dev
- Font: GeistMono Nerd Font (required for font in wezterm.lua), download from nerdfonts.com
- Fastfetch: Download and install using winget
winget install fastfetch
Copy-Item wezterm/wezterm.lua "$env:USERPROFILE\.config\wezterm\wezterm.lua"Copy-Item WindowsPowerShell/Microsoft.PowerShell_profile.ps1 "$env:USERPROFILE\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1"Copy-Item oh-my-posh/stealth.omp.json "$env:USERPROFILE\.config\oh-my-posh\stealth.omp.json"Copy-Item fastfetch/config.jsonc "$env:USERPROFILE\.config\fastfetch\config.jsonc"
Copy-Item fastfetch/logo.txt "$env:USERPROFILE\.config\fastfetch\logo.txt"After installation:
- Launch Wezterm to test terminal config
- Launch PowerShell to test prompt
- Run
fastfetchto verify system info display