~/talk

Basic To Boss: Customizing Your PowerShell Prompt

links:none on file
slides:none on file

Live coding shows a working 76 line PowerShell profile that replaces the boring default prompt with a left/right aligned status bar displaying history id, nested-pushd depth, drive and folder name, last-exit success color, elapsed runtime and Git branch/ahead/behind. Implementation uses ANSI escape sequences, embeds special glyphs via Powerline fonts, runs in ConEmu, organizes prompt elements as a generic list of scriptblocks and avoids module deps except Git so the demo actually runs.

AI-written summary · about

  1. 0:00Start
  2. 3:41Colors
  3. 4:14Escape Sequences
  4. 5:23Power Line Fonts
  5. 8:41Ansi Escape Sequences
  6. 9:39Character Accelerator
  7. 17:42Setting the Foreground Color to the Foreground Prompt Color
  8. 23:16Left Prompt
  9. 23:34Setting the Foreground to the for Prompt Color
  10. 29:57Present Drive Name
  11. 31:22Powershell Prompt
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.