aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc.d
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2014-02-05 11:39:23 +1300
committerTom Ryder <tom@sanctum.geek.nz>2014-02-05 11:39:23 +1300
commitccb89fa13b09c973e6a057ccfcd1be23964f62d8 (patch)
treed928659a7d65656b32950912a761d5c2ac563fba /bash/bashrc.d
parentDeclare ret as an integer (diff)
downloaddotfiles-ccb89fa13b09c973e6a057ccfcd1be23964f62d8.tar.gz
dotfiles-ccb89fa13b09c973e6a057ccfcd1be23964f62d8.zip
Reset three vars in one go
Diffstat (limited to 'bash/bashrc.d')
-rw-r--r--bash/bashrc.d/prompt.bash4
1 files changed, 1 insertions, 3 deletions
diff --git a/bash/bashrc.d/prompt.bash b/bash/bashrc.d/prompt.bash
index ba41e7d9..8e234fad 100644
--- a/bash/bashrc.d/prompt.bash
+++ b/bash/bashrc.d/prompt.bash
@@ -51,9 +51,7 @@ prompt() {
# Revert to simple inexpensive prompt
off)
- unset -v PROMPT_COMMAND
- unset -v PROMPT_DIRTRIM
- unset -v ret
+ unset -v PROMPT_COMMAND PROMPT_DIRTRIM ret
PS1='\$ '
;;