Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
fe63ed09
Commit
fe63ed09
authored
Dec 14, 2015
by
Victor Torres
Browse files
Updating speed test info and using zsh command line.
parent
cf5db83f
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/branch/README.md
View file @
fe63ed09
...
...
@@ -14,13 +14,13 @@ $ time hg branch
### Branch plugin
```
shell
$
time
sh /tmp/branch_prompt_info
.
sh
0.0
1
s user 0.01s system 8
1
% cpu 0.01
8
total
$
time
z
sh /tmp/branch_prompt_info
_test.z
sh
0.0
0
s user 0.01s system
7
8% cpu 0.01
4
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment