summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bin/sh/histedit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/sh/histedit.c b/bin/sh/histedit.c
index b76d73d..d92a7a3 100644
--- a/bin/sh/histedit.c
+++ b/bin/sh/histedit.c
@@ -168,6 +168,7 @@ sethistsize(hs)
(histsize = atoi(hs)) < 0)
histsize = 100;
history(hist, &he, H_SETSIZE, histsize);
+ history(hist, &he, H_SETUNIQUE, 1);
}
}
OpenPOWER on IntegriCloud