diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2014-02-05 11:39:23 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2014-02-05 11:39:23 +1300 |
commit | ccb89fa13b09c973e6a057ccfcd1be23964f62d8 (patch) | |
tree | d928659a7d65656b32950912a761d5c2ac563fba /bash/bashrc.d | |
parent | Declare ret as an integer (diff) | |
download | dotfiles-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.bash | 4 |
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='\$ ' ;; |