summaryrefslogtreecommitdiffstats
path: root/Src/builtin.c
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2025-11-24 22:19:07 +0100
committerOliver Kiddle <opk@zsh.org>2025-11-24 22:19:07 +0100
commitf51fed9ddad1861023ed12cbae129b5ca15fac20 (patch)
treee8aad2133a7ea1b70642408da5c175b9d961054d /Src/builtin.c
parent54094: handle rust coreutils in completions (diff)
downloadzsh-f51fed9ddad1861023ed12cbae129b5ca15fac20.tar
zsh-f51fed9ddad1861023ed12cbae129b5ca15fac20.tar.gz
zsh-f51fed9ddad1861023ed12cbae129b5ca15fac20.tar.bz2
zsh-f51fed9ddad1861023ed12cbae129b5ca15fac20.tar.lz
zsh-f51fed9ddad1861023ed12cbae129b5ca15fac20.tar.xz
zsh-f51fed9ddad1861023ed12cbae129b5ca15fac20.tar.zst
zsh-f51fed9ddad1861023ed12cbae129b5ca15fac20.zip
54103: support > and < comparisons via the test builtin
Diffstat (limited to 'Src/builtin.c')
-rw-r--r--Src/builtin.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Src/builtin.c b/Src/builtin.c
index 1c0eb331e..ba2fe1cdf 100644
--- a/Src/builtin.c
+++ b/Src/builtin.c
@@ -7243,6 +7243,10 @@ testlex(void)
tok = INPAR;
else if (!strcmp(*testargs, ")"))
tok = OUTPAR;
+ else if (!strcmp(*testargs, "<"))
+ tok = INANG;
+ else if (!strcmp(*testargs, ">"))
+ tok = OUTANG;
else
tok = STRING;
testargs++;