Files
pmg/internal/alias/fish.go
T
Sahil BansalandGitHub d363167981 feat: add setup & remove cmd for better UX (#43)
* feat: add setup & remove cmd for better UX

* refactor(alias): improve separation of concerns and fix shell sourcing

* chore: remove extra/unused folder

* refactor: introduce separate files for shells

* fix: use temp files for safe shell config modification
2025-06-24 12:46:21 +05:30

22 lines
352 B
Go

package alias
type fishShell struct{}
var _ Shell = &fishShell{}
func NewFishShell() (*fishShell, error) {
return &fishShell{}, nil
}
func (f fishShell) Source(rcPath string) string {
return defaultShellSource(rcPath)
}
func (f fishShell) Name() string {
return "fish"
}
func (f fishShell) Path() string {
return ".config/fish/config.fish"
}