summary refs log tree commit diff
path: root/bin/dash/src/histedit.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-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);
 	}
 }