Commit Graph

102 Commits

Author SHA1 Message Date
Sindre Sorhus 7a31ccb59d Merge pull request #44 from sindresorhus/pb-doc-updates
Add notes about user install and prezto to readme
2013-12-06 12:58:09 -08:00
patrick brisbin 45bbcfe77b Add notes about user install and prezto to readme 2013-12-06 15:42:54 -05:00
Sindre Sorhus 021596a447 describe pure.zsh-theme 2013-12-06 21:06:30 +01:00
Joshua Jabbour 10e59518fb Close GH-41: Add integration with antigen.. Fixes #16 2013-12-06 21:05:05 +01:00
Sindre Sorhus 2a5b9b95a1 Prevent % from showing on unfinished lines 2013-11-18 09:15:36 +01:00
Sindre Sorhus 765e722453 Add instructions for oh-my-zsh usage. #40 2013-11-17 17:36:59 +01:00
patrick brisbin b8a33ba6ba Use arithmetic evaluation to test git pull flag
Closes #37
2013-11-01 15:47:09 +01:00
Tom Vincent 259a72c53b Conditionalise git pull check
Whilst a nice feature, firing off a `git fetch` (and so an SSH/http call) after
*every* shell interaction is a bit heavy for my liking. This adds the ability to
disable it (whilst keeping it enabled by default).
2013-11-01 15:46:03 +01:00
Sindre Sorhus e07a613111 Merge pull request #34 from alanpearce/patch-1
Don't show pull indicator when ahead of remote
2013-10-20 04:22:00 -07:00
Alan Pearce a0d6055e82 Don't show pull indicator when ahead of remote 2013-10-20 09:14:16 +01:00
Sindre Sorhus d5190ca770 Merge pull request #31 from kouk/ansi-escapes
use more standard ansi+csr escapes. Refs #30
2013-10-16 09:58:25 -07:00
Konstantinos Koukopoulos 8a19e73250 use more standard ansi+csr escapes. Refs #30 2013-10-16 19:12:17 +03:00
Sindre Sorhus 278cbfa4ef Use a lighter gray. Fixes #13 2013-10-16 12:09:11 +02:00
Konstantinos Koukopoulos 7c43fb5ef1 fix mangled prompts. closes #30
1. error message printed when no configured upstream branch
2. 256 color code used in precmd doesn't work on my terminal
3. preexec hook mangles output when the command itself contains escape sequences
4. cursor position isn't restored correctly when you have already began typing something before the async command executes
2013-10-16 12:05:21 +02:00
Sindre Sorhus 05ca6beaf4 Use command for git and silence git fetch 2013-10-16 12:04:42 +02:00
Jonathan Dahan 02f87f14a9 fix quoting and simplify upstream reference check
Closes #19
2013-10-16 12:04:41 +02:00
Sindre Sorhus 571c9581b1 Add a git pull check 2013-10-16 12:04:41 +02:00
Sindre Sorhus 660d7d159d Merge pull request #23 from sindresorhus/fix-printp
Fix problem with `print -Pn` and awk
2013-10-01 07:54:41 -07:00
Sindre Sorhus 525042dfcc Fix problem with print -Pn and awk
Report: https://twitter.com/integralist/status/384333459516588032
2013-09-29 22:25:50 +02:00
Arash Rouhani ccbb519151 Close GH-20: Fix bug and more. 2013-09-16 11:30:42 +02:00
Sindre Sorhus ba2f5c050e Merge pull request #15 from pbrisbin/pull-request
Rename Arch package
2013-09-13 06:38:31 -07:00
patrick brisbin 14e641fc0c Rename Arch package 2013-09-13 09:34:10 -04:00
Sindre Sorhus 512ea3e2f1 minor tweaks 2013-09-12 19:55:37 +02:00
Sindre Sorhus fcabf2a2c6 Switch back to tab indentation 2013-09-12 19:09:04 +02:00
Sindre Sorhus fde60e0253 Tweak readme 2013-09-12 19:07:19 +02:00
patrick brisbin 7b7e80f6ae Close GH-14: Make pure.zsh loadable by the prompt system.. 2013-09-12 18:54:58 +02:00
Sindre Sorhus d540d7ae95 add screenshot of directory+cmd in title 2013-09-06 17:14:42 +02:00
Sindre Sorhus 10c248023f readme tweaks 2013-09-06 17:00:32 +02:00
Sindre Sorhus b7b0f754f1 New feature: now shows current path in the title
and current directory and command when a process is running.
2013-09-06 16:56:03 +02:00
Sindre Sorhus d4d4f2528a Use modern syntax 2013-09-06 16:35:19 +02:00
Sindre Sorhus 56fbc04990 Improve SSH if syntax 2013-09-06 16:12:49 +02:00
Sindre Sorhus 615aef761c minor cleanup 2013-09-06 15:58:50 +02:00
Sindre Sorhus 3b767bef01 readme tweaks 2013-09-06 15:54:24 +02:00
Sindre Sorhus d2229c50a0 Followup to #11
Should fix #12
2013-09-05 13:21:58 +02:00
hemanth.hm 65ed8c4465 Close GH-11: Remote user. Fixes #9 2013-09-03 20:37:31 +02:00
Sindre Sorhus 74d0db4ff1 Revert "Only set the option locally"
This reverts commit b5905579e4.
2013-08-31 00:08:49 +02:00
Sindre Sorhus b5905579e4 Only set the option locally 2013-08-28 00:18:18 +02:00
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