Commit graph

17 commits

Author SHA1 Message Date
6801901f3c Get prompt repo name on chpwd 2013-11-06 14:52:47 -08:00
5b2503fe2a Don't reset prompt info when switching modes -- performance fix! 2013-10-07 21:27:27 -07:00
28397d8b32 Prepend tmux session name to Xterm title 2013-04-04 09:41:07 -07:00
5ba6c60a91 Set PS1_JOBS 2013-03-12 13:57:58 -07:00
470b583f28 Show history count in RPS1 2013-03-06 09:16:25 -08:00
635baf6799 Add history and job count to RPS1 in loquacious 2013-02-15 21:27:21 -08:00
167cd9c78c Merge remote-tracking branch 'origin/master' 2013-01-23 11:14:33 -08:00
52396e8b55 Use add-zsh-hook for prompt hooks; fix colors of prompt components 2013-01-23 10:55:15 -08:00
2cbe3d7b00 Fix set_xterm_title function in prompt for iTerm2 2013-01-13 10:14:22 -08:00
8526e665b3 Fix vcs_info in prompt 2013-01-03 10:01:49 -08:00
c1251ecfc3 loquacious: Tweak help 2012-11-30 11:31:42 -08:00
cb810d4ef6 loquacious: Clean up some comments; autoload vcs_info 2012-11-30 11:30:04 -08:00
a0ab13cb8a Only show hostname when connected via SSH 2012-11-30 11:18:38 -08:00
11902b50a6 Tweak how repo data is displayed: on <repo>(<branch>) 2012-11-30 11:18:25 -08:00
e63cdb9aa7 Fix typo: {prompt_,}print_newline 2012-11-29 12:02:06 -08:00
d3b8abce8e Lots of clean up for loquacious prompt
- Move zle keymap select code to prompt module
- Use vcs_info to get repo information
- Reduce number of functions required to generate prompt
- Set $PS1 once in setup to a bunch of $PS1_* variables. These variables are set
  before each prompt. Doing this lets me change prompt themes more easily.
2012-11-29 11:15:24 -08:00
66438f666c Prompt configuration to a prompt theme
Move my prompt configuration to a prompt theme function in my $fpath. I call it
'loquacious'. The prompt is configured by the prompt_loquacious_setup function.

This change also necessitated a new function called prompt_colorize to generate
a string with the correct set of color escapes for the prompt.
2012-11-28 21:44:13 -08:00