# Dir: current working directory prompt_dir() { prompt_segment blue '%c~' }