aboutsummaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
Diffstat (limited to 'bash')
-rw-r--r--bash/bashrc.d/prompt.bash1
1 files changed, 1 insertions, 0 deletions
diff --git a/bash/bashrc.d/prompt.bash b/bash/bashrc.d/prompt.bash
index a3baaa3b..978472ba 100644
--- a/bash/bashrc.d/prompt.bash
+++ b/bash/bashrc.d/prompt.bash
@@ -153,6 +153,7 @@ prompt() {
if ((ret > 0)); then
printf '<%d>' "$ret"
fi
+ unset ret
;;
# Show the count of background jobs in curly brackets