Files
pmg/internal/alias/zsh.go
T

26 lines
415 B
Go
Raw Normal View History

package alias
type zshShell struct{}
var _ Shell = &zshShell{}
func NewZshShell() (*zshShell, error) {
return &zshShell{}, nil
}
func (z zshShell) Source(rcPath string) string {
return defaultShellSource(rcPath)
}
func (z zshShell) PathExport(binDir string) string {
return defaultPathExport(binDir)
}
func (z zshShell) Name() string {
return "zsh"
}
func (z zshShell) Path() string {
return ".zshrc"
}