Commit Graph

15 Commits

Author SHA1 Message Date
Sindre Sorhus 55645cca07 Closure over the local variables by wrapping everything in a anonymous function
Also namespace all the functions as they will always be global
2013-08-27 01:47:22 +02:00
Sindre Sorhus 2d15981c31 Use zsh hooks instead of overriding preexec and precmd 2013-08-27 01:22:43 +02:00
Sindre Sorhus a9e0877e57 Add an example 2013-08-27 00:56:05 +02:00
Sindre Sorhus 6c523c5f66 Move the options out of the prompt
So users don't have to modify the prompt to be able to change the options.
2013-08-27 00:55:52 +02:00
Sindre Sorhus 0e06fe774d Rename prompt.zsh to pure.zsh 2013-08-19 19:27:49 +02:00
Sindre Sorhus 9c5791ff65 Use standard light gray color for the git branch
Fixes #5
2013-07-11 15:30:08 +02:00
Sindre Sorhus 11043de683 comments consistency 2013-07-11 13:48:42 +02:00
Sindre Sorhus 36fd5674d1 Enable prompt substitution
Fixes #2
2013-05-01 17:37:11 +02:00
Sindre Sorhus dc640860ac Improve logic for checking if inside a git repo 2013-05-01 17:06:50 +02:00
Sindre Sorhus ab01293a2d Call git directly and bypass aliases
Useful so it doesn't get slowed down by wrappers like `hub`
2013-03-10 17:39:18 +01:00
Sindre Sorhus ecbec4ef99 Return early if folder isn't a git repo
Minor performance improvement
2013-03-10 17:38:08 +01:00
Sindre Sorhus dc2a50ad35 Minor tweaks 2012-10-17 22:56:08 +02:00
Sindre Sorhus fce3351be3 Display the execution time of the last command
Thanks to @paulirish for that awesome idea!
2012-10-17 22:53:35 +02:00
Sindre Sorhus 3c9b554154 Add superfast way to detect if the branch is dirty 2012-10-17 21:01:52 +02:00
Sindre Sorhus 62852d7fd1 init 2012-09-20 20:16:36 +02:00