~/talk

NerdCred++; How to Customize your Bash Prompt

Talkat Open Source Bridge 2014 · 2014-06-24..06-27· [developer-experience]
speakerdeck:pamo
links:none on file
slides:none on file

Shows how to turn the default shell line into an information-dense prompt by setting the PS1 variable, writing it into ~/.bashrc and applying it with source so changes persist. Demonstrates escape sequences and ANSI color codes, extracting git state (branch name, clean/dirty, ahead/behind) into visible symbols, and wrapping colors in variables for readability. Mentions using a pre-prompt hook for dynamic data, links to GitHub gists and slides with ready-made snippets.

AI-written summary · about

  1. 0:00Start
  2. 1:04What Is the Command Line Prompt
  3. 1:27What Is Your Bash Prompt
  4. 12:28Color Codes
  5. 17:08Variables
  6. 17:21Variables and Bash
~/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.