summary refs log tree commit diff
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
commit8624fd69422986db9d22e5b7cd5e7d0c28205ef5 (patch)
treed0d171a6b7c8381f07ac3dfacbf7a9a37401ee18
parentAdd initial version of hilex (diff)
downloadsrc-8624fd69422986db9d22e5b7cd5e7d0c28205ef5.tar.gz
src-8624fd69422986db9d22e5b7cd5e7d0c28205ef5.zip
Set H_SETUNIQUE
-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);
 	}
 }