mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-27 15:30:15 +08:00
Updating speed test info and using zsh command line.
This commit is contained in:
parent
cf5db83fac
commit
fe63ed09b7
@ -14,13 +14,13 @@ $ time hg branch
|
||||
### Branch plugin
|
||||
|
||||
```shell
|
||||
$ time sh /tmp/branch_prompt_info.sh
|
||||
0.01s user 0.01s system 81% cpu 0.018 total
|
||||
$ time zsh /tmp/branch_prompt_info_test.zsh
|
||||
0.00s user 0.01s system 78% cpu 0.014 total
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
Edit your theme file (eg.: `~/.oh-my-zsh/theme/robbyrussell.zsh-theme`)
|
||||
Edit your theme file (eg.: `~/.oh-my-zsh/theme/robbyrussell.zsh-theme`)
|
||||
adding `$(branch_prompt_info)` in your prompt like this:
|
||||
|
||||
```diff
|
||||
|
Loading…
Reference in New Issue
Block a user