summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/histedit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/histedit.c b/src/histedit.c
index 5816331..1b7ad23 100644
--- a/src/histedit.c
+++ b/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);
 	}
 }