Commit Graph

7 Commits (8812f7e42272f7f5db4bd24418f48a0c17741237)

Author SHA1 Message Date
Bodaniel Jeanes 1ce8f7e159 Thanks to http://stevelosh.com/blog/2010/02/my-extravagant-zsh-prompt/ I am now showing ± as prompt char in git repos and ☿ in Hg repos 2010-06-28 09:08:35 +10:00
Bodaniel Jeanes abdd22288f Upgraded vcprompt to fix the empty-git-repo issue causing stderr output in the prompt 2010-06-27 23:53:00 +10:00
Bodaniel Jeanes d88330ca95 Don't error out with vcprompt (in situations like a git repo with no commits) 2010-06-27 23:36:22 +10:00
Bodaniel Jeanes 91cf3ef846 Prompt is blue if connected through SSH 2010-06-27 05:31:31 +00:00
Bodaniel Jeanes 58769a6faa Ported the fish-style PWD function for bash/zsh prompt 2010-06-27 01:37:43 +10:00
Bodaniel Jeanes 3bad87fac8 A lot more refactoring including ZSH prompt improvements and making the `m` function more intelligent 2010-06-27 01:12:01 +10:00
Bodaniel Jeanes 3831af2ccf Major refactoring of my dot files.
* Only symlinking files that need to be in ~/ by the application that uses them. Re-wired everything to source other files directly from ~/.config
* Moved all files into folders grouping (approximately) by purpose
* Refactored some bash files to source so that I can include in some of them into ZSH too
* Started on my ZSH prompt
* Added vcprompt.py which replaces __git_ps1() type functionality. It works in all shells (as it is a separate binary), is quite fast, and support multiple VCSes

TODO:
* Make Bash and ZSH prompts as close as possible, ideally using the same configuration file for all the common parts
* Make fish prompt use vcprompt.py
2010-06-25 17:02:29 +10:00