mirror of https://github.com/Hilbis/Hilbish
chore: set name of history in menu to History instead of file
parent
f03f8c0da1
commit
1e899bf18e
2
rl.go
2
rl.go
|
@ -21,7 +21,7 @@ func newLineReader(prompt string, noHist bool) *lineReader {
|
||||||
// but it cant have shared history
|
// but it cant have shared history
|
||||||
if !noHist {
|
if !noHist {
|
||||||
fileHist = newFileHistory()
|
fileHist = newFileHistory()
|
||||||
rl.SetHistoryCtrlR("file", fileHist)
|
rl.SetHistoryCtrlR("History", fileHist)
|
||||||
rl.HistoryAutoWrite = false
|
rl.HistoryAutoWrite = false
|
||||||
}
|
}
|
||||||
rl.ShowVimMode = false
|
rl.ShowVimMode = false
|
||||||
|
|
Loading…
Reference in New Issue