diff options
| author | Kamen Mladenov <kamen@syndamia.com> | 2024-11-04 09:56:37 +0200 |
|---|---|---|
| committer | Kamen Mladenov <kamen@syndamia.com> | 2024-11-04 09:56:37 +0200 |
| commit | 4b1fbc1d707bd46beae059567f342cecf560630a (patch) | |
| tree | 5c6f70597951e33fdfd3e8555280ee0c0702d26d /.bashrc | |
| parent | b70c6f40b7aa326c423f0047c34e2928be544936 (diff) | |
| download | dotfiles-4b1fbc1d707bd46beae059567f342cecf560630a.tar dotfiles-4b1fbc1d707bd46beae059567f342cecf560630a.tar.gz dotfiles-4b1fbc1d707bd46beae059567f342cecf560630a.zip | |
feat(bash): Move precursor character to it's own variable
Diffstat (limited to '.bashrc')
| -rw-r--r-- | .bashrc | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -53,6 +53,7 @@ hc_mode && PS_RIGHT_SLAB='█' || PS_RIGHT_SLAB=' /' hc_mode && PS_RIGHT_SEMI='' || PS_RIGHT_SEMI=')' hc_mode && PS_PREC='' || PS_PREC='>' + hc_mode && PS_PREC_GIT='' || PS_PREC_GIT='{}' ___dirchanged="" @@ -163,7 +164,7 @@ ps_precursor() { if [ -n "$___changes" ] then - printf "" + printf "$PS_PREC_GIT" else printf "$PS_PREC" fi |
