diff options
author | Robby Russell <robby@planetargon.com> | 2015-08-30 21:40:26 -0700 |
---|---|---|
committer | Robby Russell <robby@planetargon.com> | 2015-08-30 21:40:26 -0700 |
commit | 14e1f0c6d83154e0ca08800630cd8c30d74439d2 (patch) | |
tree | cc00ce016a9cb222df5e1023702fe58b5bb6af99 /plugins/rand-quote | |
parent | a228604e6977e0d3f1be8bf5d643a2f114187ecb (diff) | |
parent | 96aefd2b98e5a646573a0ad6394f6ca0276facf1 (diff) | |
download | zsh-14e1f0c6d83154e0ca08800630cd8c30d74439d2.tar.gz zsh-14e1f0c6d83154e0ca08800630cd8c30d74439d2.tar.bz2 zsh-14e1f0c6d83154e0ca08800630cd8c30d74439d2.zip |
Merge pull request #4286 from RobinDaugherty/rand-quote-failure
Rand-quote plugin overflows stack when site is unreachable
Diffstat (limited to 'plugins/rand-quote')
-rw-r--r-- | plugins/rand-quote/rand-quote.plugin.zsh | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/rand-quote/rand-quote.plugin.zsh b/plugins/rand-quote/rand-quote.plugin.zsh index c3bf6234e..8f345d9aa 100644 --- a/plugins/rand-quote/rand-quote.plugin.zsh +++ b/plugins/rand-quote/rand-quote.plugin.zsh @@ -18,8 +18,6 @@ if [[ -x `which curl` ]]; then W=$(echo "$Q" | sed -e 's/.*\/quotes\///g' -e 's/<.*//g' -e 's/.*">//g') if [ "$W" -a "$TXT" ]; then echo "${WHO_COLOR}${W}${COLON_COLOR}: ${TEXT_COLOR}“${TXT}”${END_COLOR}" - else - quote fi } #quote |