Skip to content

Commit 4888bb1

Browse files
committed
$AGKOZAK_USER_HOST_DISPLAY documentation and demo
1 parent 0425048 commit 4888bb1

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

README.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,15 @@ This prompt has been tested on numerous Linux and BSD distributions, as well as
3636
- [Custom Prompt Character](#custom-prompt-character)
3737
- [Custom Git Symbols](#custom-git-symbols)
3838
- [Other Settings](#other-settings)
39+
- [AGKOZAK_USER_HOST_DISPLAY](#agkozak_user_host_display)
40+
- [AGKOZAK_BRANCH_STATUS_SEPARATOR](#agkozak_branch_status_separator)
3941
- [Advanced Customization](#advanced-customization)
4042
- [Asynchronous Methods](#asynchronous-methods)
4143

4244
## News
4345

46+
- v3.3.0 (July 20, 2019)
47+
- If `AGKOZAK_USER_HOST_DISPLAY=0`, the username and hostname will not be displayed.
4448
- v3.2.2 (July 8, 2019)
4549
- When the local `git` version is 2.15.0 or greater, `git status` will not run unnecessary optional operations that require locks.
4650
- v3.2.1 (May 6, 2019)
@@ -274,7 +278,17 @@ If you prefer the [pure](https://github.com/sindresorhus/pure) symbols for the "
274278

275279
### Other Settings
276280

277-
By default, a space precedes the Git branch status indicator, typically right between it and the directory. You may eliminate the space by setting
281+
#### AGKOZAK_USER_HOST_DISPLAY
282+
283+
![AGKOZAK_USER_HOST_DISPLAY demo](img/AGKOZAK_USER_HOST_DISPLAY.gif)
284+
285+
For a more streamlined prompt, you may choose to suppress the display of the username and hostname by setting
286+
287+
AGKOZAK_USER_HOST_DISPLAY=0
288+
289+
#### AGKOZAK_BRANCH_STATUS_SEPARATOR
290+
291+
By default, a space precedes the Git branch status indicator, typically right between it and the directory name. You may eliminate the space by setting
278292

279293
AGKOZAK_BRANCH_STATUS_SEPARATOR=''
280294

img/AGKOZAK_USER_HOST_DISPLAY.gif

33.8 KB
Loading

0 commit comments

Comments
 (0)