Files
pmg/internal/alias/zsh.go
T

22 lines
325 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) Name() string {
return "zsh"
}
func (z zshShell) Path() string {
return ".zshrc"
}