mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-01-03 15:27:26 -08:00
parent
c39e76bd4b
commit
f93f223f5e
|
@ -3,6 +3,7 @@ package cli
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"os"
|
"os"
|
||||||
|
"strings"
|
||||||
|
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
@ -24,7 +25,7 @@ experience, regardless of where you are. For a detailed guide
|
||||||
on getting started, have a look at the docs at https://ohmyposh.dev`,
|
on getting started, have a look at the docs at https://ohmyposh.dev`,
|
||||||
Run: func(cmd *cobra.Command, args []string) {
|
Run: func(cmd *cobra.Command, args []string) {
|
||||||
if initialize {
|
if initialize {
|
||||||
runInit(shellName)
|
runInit(strings.ToLower(shellName))
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if displayVersion {
|
if displayVersion {
|
||||||
|
|
Loading…
Reference in a new issue