diff options
author | Benjamin Große <[email protected]> | 2021-11-27 19:20:54 +0000 |
---|---|---|
committer | Benjamin Große <[email protected]> | 2021-12-15 11:52:06 +0000 |
commit | e426ee675844c90bea285b4bc8ec9a2cc5c3b4ef (patch) | |
tree | a1f5cf81e4724635ba767d28315dd0b1e06cd83d /readme.md | |
parent | 5b022fa71a26176dabc92afb211ab8f3707c2020 (diff) |
Hides path if in $HOME. It only shows the prompt char, as usually $HOME
has no git repo. Looks pretty cool when opening a new terminal.
Diffstat (limited to 'readme.md')
-rw-r--r-- | readme.md | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -94,6 +94,9 @@ export CWD_COLOR="white" | |||
94 | # if EXPAND_TILDE is set to 0, `/home/nerdypepper` is shortened to `~` | 94 | # if EXPAND_TILDE is set to 0, `/home/nerdypepper` is shortened to `~` |
95 | export EXPAND_TILDE=0 | 95 | export EXPAND_TILDE=0 |
96 | 96 | ||
97 | # if HIDE_HOME_CWD is set to 1, path is hidden when in $HOME | ||
98 | export HIDE_HOME_CWD=1 | ||
99 | |||
97 | # there are three possible states for a git repo | 100 | # there are three possible states for a git repo |
98 | # - unstaged (working tree has been modified) | 101 | # - unstaged (working tree has been modified) |
99 | # - staged (staging area has been modified) | 102 | # - staged (staging area has been modified) |