summary refs log tree commit diff
path: root/bin/1sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/1sh')
-rw-r--r--bin/1sh/histedit.c16
1 files changed, 4 insertions, 12 deletions
diff --git a/bin/1sh/histedit.c b/bin/1sh/histedit.c
index 32e798e3..ae24c1be 100644
--- a/bin/1sh/histedit.c
+++ b/bin/1sh/histedit.c
@@ -177,26 +177,18 @@ sethistfile(const char *hf)
 static void
 history_load(const char *hf) {
 	HistEvent he;
-	const char *ehf;
 
-	ehf = expandstr(hf);
-	if (ehf == NULL)
-		return;
-	if (history(hist, &he, H_LOAD, ehf) == -1)
-		warning("%s: %s", he.str, ehf);
+	if (history(hist, &he, H_LOAD, hf) == -1)
+		warning("%s: %s", he.str, hf);
 }
 
 
 static void
 history_save(const char *hf) {
 	HistEvent he;
-	const char *ehf;
 
-	ehf = expandstr(hf);
-	if (ehf == NULL)
-		return;
-	if (history(hist, &he, H_SAVE, ehf) == -1)
-		warning("%s: %s", he.str, ehf);
+	if (history(hist, &he, H_SAVE, hf) == -1)
+		warning("%s: %s", he.str, hf);
 }
 
 
ogsubject'>Collapse simple linksJune McEnroe 2020-02-12Move catgirl up the pageJune McEnroe 2020-02-12Update catgirl pty grabJune McEnroe 2020-02-12Link to cgit /about pages where appropriateJune McEnroe 2020-02-11Separate LINKS from BINS for html to workJune McEnroe 2020-02-11Add margin to Bl-bullet itemsJune McEnroe 2020-02-10Match URLs inside parens or with paired parens insideJune McEnroe 2020-02-10Duplicate effective URL before passing it back to curlJune McEnroe Apparently sometimes it didn't like receiving its own internal storage to parse again. Understandable. 2020-02-09Add To Be Taught, If FortunateJune McEnroe 2020-02-04Add The Future of Another TimelineJune McEnroe Wow. One of the best I've read. 2020-01-31Reorganize the Makefile for the umpteenth timeJune McEnroe Broke out LDLIBS for each bin, and made everything more uniform. 2020-01-28Change scout sensitivity to 1.4June McEnroe idk it seems to work. 2020-01-28Import shows.txtJune McEnroe