summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-12-28 21:59:23 -0500
committerJune McEnroe <june@causal.agency>2020-12-28 21:59:23 -0500
commitae9671514f3e92e92c3364439b830b110ab2e319 (patch)
tree4ed80eb313f6f49b7f272243998c80904ad1ebc1 /bin
parentAdd initial version of hilex (diff)
downloadsrc-ae9671514f3e92e92c3364439b830b110ab2e319.tar.gz
src-ae9671514f3e92e92c3364439b830b110ab2e319.zip
Set H_SETUNIQUE
Diffstat (limited to 'bin')
-rw-r--r--bin/dash/src/histedit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/dash/src/histedit.c b/bin/dash/src/histedit.c
index 58163314..1b7ad238 100644
--- a/bin/dash/src/histedit.c
+++ b/bin/dash/src/histedit.c
@@ -169,6 +169,7 @@ sethistsize(const char *hs)
 		   (histsize = atoi(hs)) < 0)
 			histsize = 100;
 		history(hist, &he, H_SETSIZE, histsize);
+		history(hist, &he, H_SETUNIQUE, 1);
 	}
 }