Commit graph

3 commits

Author SHA1 Message Date
lhark
8e1476e7b3 [zshrc] Fix virtualenv prompt and git colors 2018-07-10 15:35:05 -04:00
lhark
00f2cded0c Fix regressions in the prompt 2018-03-19 14:49:06 -04:00
lhark
83f91a5034 [zshrc] Switch to builtin vcs_info for the git prompt. Move aliases and prompt to new file
Instead of using hand crafted parsing to get the current git state, we
use the existing vcs_info module, augmented by a few hooks to preserve
previous prompt functionality.

The prompt now also display the vi mode of ZLE on the left of the
username : [I] for insert mode, [N] for normal mode.

A lot of the inspiration for this refactor came from
https://github.com/frioux/dotfiles
For example the tweaks to the keybindings and completion.
2018-02-26 03:18:40 -05:00