Searched refs:histfile (Results 1 – 2 of 2) sorted by relevance
84 const char *histfile; in get_histfile() local89 histfile = expandstr("${HISTFILE-${HOME-}/.sh_history}"); in get_histfile()91 if (histfile[0] == '\0') in get_histfile()93 return (histfile); in get_histfile()101 const char *histfile; in histsave() local105 if (!savehist || (histfile = get_histfile()) == NULL) in histsave()108 asprintf(&histtmpname, "%s.XXXXXXXXXX", histfile); in histsave()120 rename(histtmpname, histfile) == -1) in histsave()131 const char *histfile; in histload() local134 if ((histfile = get_histfile()) == NULL) in histload()[all …]
298 8. set histfile=/tmp/history.temp; set savehist=(100 merge);1847 7. added $histfile.