From 490e8aa0465ff2112590e1de9e4719244679bf99 Mon Sep 17 00:00:00 2001 From: xylous Date: Thu, 24 Jun 2021 14:15:15 +0300 Subject: [PATCH] Add "unset" to prevent global namespace pollution --- gitstatus.plugin.zsh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gitstatus.plugin.zsh b/gitstatus.plugin.zsh index 85d0e47..ee45dcd 100755 --- a/gitstatus.plugin.zsh +++ b/gitstatus.plugin.zsh @@ -43,6 +43,8 @@ function main() output+=$'\e[0m' sed 's/[ ]+$//' <<<"$output" # remove trailing whitespace + + unset REPLY } ###