mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-09 20:44:03 -08:00
20 lines
289 B
Go
20 lines
289 B
Go
package main
|
|
|
|
type shell struct {
|
|
props *properties
|
|
env environmentInfo
|
|
}
|
|
|
|
func (s *shell) enabled() bool {
|
|
return true
|
|
}
|
|
|
|
func (s *shell) string() string {
|
|
return s.env.getShellName()
|
|
}
|
|
|
|
func (s *shell) init(props *properties, env environmentInfo) {
|
|
s.props = props
|
|
s.env = env
|
|
}
|