Command duration documentation
parent
07305366bb
commit
1a6c3330bc
|
|
@ -29,6 +29,7 @@ BARBUK_GIT_BRANCH_ICON=''
|
||||||
BARBUK_HG_CHAR='☿ '
|
BARBUK_HG_CHAR='☿ '
|
||||||
BARBUK_SVN_CHAR='⑆ '
|
BARBUK_SVN_CHAR='⑆ '
|
||||||
BARBUK_EXIT_CODE_ICON=' '
|
BARBUK_EXIT_CODE_ICON=' '
|
||||||
|
BARBUK_COMMAND_DURATION_ICON=' '
|
||||||
```
|
```
|
||||||
|
|
||||||
### Customize glyphs
|
### Customize glyphs
|
||||||
|
|
@ -78,6 +79,14 @@ EOF
|
||||||
chmod 400 /etc/sudoers.d/keepenv
|
chmod 400 /etc/sudoers.d/keepenv
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Command duration
|
||||||
|
|
||||||
|
Command duration is enabled by default and can be disabled:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
export BARBUK_COMMAND_DURATION=false
|
||||||
|
```
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
### Clean
|
### Clean
|
||||||
|
|
@ -97,3 +106,10 @@ chmod 400 /etc/sudoers.d/keepenv
|
||||||
```bash
|
```bash
|
||||||
user@hostname in ~/bash-it on master ✓ ❯
|
user@hostname in ~/bash-it on master ✓ ❯
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Command duration
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# sleep 3s
|
||||||
|
user@hostname in ~/bash-it on master ✓ 3s ❯
|
||||||
|
```
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue