MCPcopy
hub / github.com/ddworken/hishtory / getFishHistoryPath

Function getFishHistoryPath

client/lib/lib.go:375–377  ·  view source on GitHub ↗
(homedir string)

Source from the content-addressed store, hash-verified

373}
374
375func getFishHistoryPath(homedir string) string {
376 return filepath.Join(homedir, ".local/share/fish/fish_history")
377}
378
379func parseFishHistory(homedir string) iter.Seq2[string, error] {
380 lines := readFileToIterator(getFishHistoryPath(homedir))

Callers 2

ImportHistoryFunction · 0.85
parseFishHistoryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected