diff options
| author | Thomas Vanbesien <tvanbesi@proton.me> | 2026-05-21 15:34:39 +0200 |
|---|---|---|
| committer | Thomas Vanbesien <tvanbesi@proton.me> | 2026-05-21 15:34:39 +0200 |
| commit | 19bf0d5cd95a2643736dd35d7b127c7d023429cf (patch) | |
| tree | fb8daeeea090f737f594d8d9d8119b862d96ee1c /.config/bash/bashrc | |
| parent | 42799821b9fa480edfeadf4e9f3efe681d8d0112 (diff) | |
| download | dotfiles-19bf0d5cd95a2643736dd35d7b127c7d023429cf.tar.gz dotfiles-19bf0d5cd95a2643736dd35d7b127c7d023429cf.zip | |
misc(bash): update prompt
- Shell level is shown when >2
- Jobs are shown when there is at least 1
- Git commit divergence with remote is shown
Diffstat (limited to '.config/bash/bashrc')
| -rw-r--r-- | .config/bash/bashrc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/.config/bash/bashrc b/.config/bash/bashrc index bd440fc..fa1c425 100644 --- a/.config/bash/bashrc +++ b/.config/bash/bashrc @@ -41,8 +41,7 @@ if [[ $TERM == +(xterm-256color|tmux-256color|foot) ]]; then alias pacman='pacman --color auto' alias bat='bat --color=always' export LESS="--RAW-CONTROL-CHARS" # `less` display colors instead of the raw escape sequences - # Prompt - PS1='\[\033[01;32m\][\u@\h\[\033[01;37m\] \W :$SHLVL :\j\[\033[01;32m\]]\$\[\033[00m\] ' + source_if_readable "$HOME/.config/bash/prompt" fi # History |
