Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Histlist ¶
type Histlist struct { // list of commands lines (deduplicated) List []string // lookup: cmdLine -> last index LastIndex map[string]int }
Histlist is a deduplicated list of cmdLines
func LoadCmdLinesFromBashFile ¶
LoadCmdLinesFromBashFile loads cmdlines from bash history file
func LoadCmdLinesFromZshFile ¶
LoadCmdLinesFromZshFile loads cmdlines from zsh history file
func (*Histlist) AddCmdLine ¶
AddCmdLine to the histlist
func (*Histlist) AddHistlist ¶
AddHistlist contents of another histlist to this histlist
Click to show internal directories.
Click to hide internal directories.