Skip to content

Commit

Permalink
minor tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed May 23, 2015
1 parent 94ccd58 commit be77b9c
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 10 deletions.
13 changes: 10 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"author": {
"name": "Sindre Sorhus",
"email": "[email protected]",
"url": "http://sindresorhus.com"
"url": "sindresorhus.com"
},
"engines": {
"node": ">=0.10.0"
Expand All @@ -16,15 +16,22 @@
"postinstall": "dest=/usr/local/share/zsh/site-functions/; mkdir -p $dest && ln -sf \"$PWD/pure.zsh\" $dest/prompt_pure_setup && ln -sf \"$PWD/async.zsh\" $dest/async || echo 'Could not automagically symlink the prompt. Check out the readme on how to do it manually: https://github.com/sindresorhus/pure#manually'"
},
"files": [
"pure.zsh"
"pure.zsh",
"async.zsh"
],
"keywords": [
"zsh",
"zshell",
"sh",
"shell",
"bash",
"pure",
"prompt",
"theme"
"theme",
"git",
"async",
"fast",
"minimal",
"pretty"
]
}
1 change: 1 addition & 0 deletions pure.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@

# turns seconds into human readable time
# 165392 => 1d 21h 56m 32s
# https://github.com/sindresorhus/pretty-time-zsh
prompt_pure_human_time() {
echo -n " "
local tmp=$1
Expand Down
11 changes: 4 additions & 7 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

> Pretty, minimal and fast ZSH prompt
![screenshot](screenshot.png)
![](screenshot.png)


## Overview
Expand All @@ -28,7 +28,7 @@ Can be installed with `npm` or manually. Requires git 2.0.0+ and ZSH 5.0.0+.

### npm

```sh
```
$ npm install --global pure-prompt
```

Expand All @@ -47,7 +47,7 @@ That's it. Skip to [Getting started](#getting-started).

#### Example

```sh
```
$ ln -s "$PWD/pure.zsh" /usr/local/share/zsh/site-functions/prompt_pure_setup
$ ln -s "$PWD/async.zsh" /usr/local/share/zsh/site-functions/async
```
Expand Down Expand Up @@ -139,15 +139,12 @@ Add `antigen bundle sindresorhus/pure` to your .zshrc file (do not use the `anti

## FAQ

### Do you hate almost all software?

[Yes.](https://gist.github.com/cookrn/4015437)

### I am stuck in a shell loop in my terminal that ask me to authenticate. What should I do ?

[This is a known issue](https://github.com/sindresorhus/pure/issues/76).
Using `git pull` when you get the username prompt should help you to break the loop by giving you a real prompt for this. **[This has been fixed in git 2.3](https://github.com/sindresorhus/pure/commit/f43ab97e1cf4a276b7a6e33eac055ee16610be15)**


## License

MIT © [Sindre Sorhus](http://sindresorhus.com)

0 comments on commit be77b9c

Please sign in to comment.