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