Skip to main content

Documentation Index

Fetch the complete documentation index at: https://base.bangwu.me/llms.txt

Use this file to discover all available pages before exploring further.

Command line prompt tools

oh my zsh

oh my posh

PowerShell completion is the only part that still feels awkward to use.

starship

starship-demo
scoop install starship
starship config command_timeout 3600 //解决超时Issue https://github.com/starship/starship/issues/5985

Configure PowerShell

Run $PROFILE in PowerShell to find the config file path, usually C:\Users\<username>\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1, and add the following line:
Invoke-Expression (&starship init powershell)
I use the Bracketed Segments preset. You can browse other themes on the Starship presets page. Some presets require a Nerd Font.

Configure cmd

Starship uses clink to configure cmd.
[!note] If you install clink with Scoop, command highlighting may not work. The likely reason is that the Scoop package does not include the Enhanced default settings feature, which is what enables syntax highlighting. If you need it, downloading clink directly from the GitHub Releases page is the safer choice.
code %LocalAppData%\clink\starship.lua

写入
load(io.popen('starship init cmd'):read("*a"))()
clink autorun install
clink set prompt.transient always
Last modified on April 17, 2026