Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendLine ¶
AppendLine writes a line to a file if it does not already exist
func GetBashConfigFile ¶
func GetFishConfigFile ¶
func GetZshConfigFile ¶
func RemoveLine ¶
RemoveLine removes a line from a file if it exists
Types ¶
type ErrLineAlreadyExists ¶
type ErrLineAlreadyExists struct {
File string
}
func (*ErrLineAlreadyExists) Error ¶
func (e *ErrLineAlreadyExists) Error() string
type ErrLineNotFound ¶
type ErrLineNotFound struct {
File string
}
func (*ErrLineNotFound) Error ¶
func (e *ErrLineNotFound) Error() string
Click to show internal directories.
Click to hide internal directories.