aboutsummaryrefslogtreecommitdiff
path: root/gitstatus/gitstatus.plugin.zsh
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2020-05-02 17:45:11 +0300
committerromkatv <roman.perepelitsa@gmail.com>2020-05-02 17:45:11 +0300
commit1b5ee70b3dfe670fafffabc8da0f31bbff1456a6 (patch)
treeecfaf67138090e1fec9878a9614be41465c4c64e /gitstatus/gitstatus.plugin.zsh
parent06603a2d62a0d150064c4c2b320f772eb04bb743 (diff)
pull upstream changes from gitstatus
Diffstat (limited to 'gitstatus/gitstatus.plugin.zsh')
-rw-r--r--gitstatus/gitstatus.plugin.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitstatus/gitstatus.plugin.zsh b/gitstatus/gitstatus.plugin.zsh
index 5c16fd44..1010a386 100644
--- a/gitstatus/gitstatus.plugin.zsh
+++ b/gitstatus/gitstatus.plugin.zsh
@@ -662,7 +662,7 @@ function gitstatus_start() {
}
local -i err=$?
- (( stderr_fd )) && exec 2>&$stderr_fd
+ (( stderr_fd )) && exec 2>&$stderr_fd {stderr_fd}>&-
(( err == 0 )) && return
gitstatus_stop $name