mirror of
https://github.com/safedep/pmg.git
synced 2026-08-03 07:24:09 +02:00
22 lines
352 B
Go
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"
|
||
|
|
}
|