diff options
| -rw-r--r-- | dot-bashrc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -92,8 +92,8 @@ eval "$(direnv hook bash)" # zoxide eval "$(zoxide init bash)" -# add container id to prompt when in a container -if [[ -n "$CONTAINER_ID" ]]; then +# add container id to prompt when in a toolbox/distrobox container +if [ -f /run/.toolboxenv ]; then PS1="($CONTAINER_ID) $PS1" fi |
