mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-10 13:04:04 -08:00
fix(cli): correct help text for font
subcommand
This commit is contained in:
parent
0a46189556
commit
eb91390a46
|
@ -15,7 +15,7 @@ var fontCmd = &cobra.Command{
|
|||
|
||||
This command is used to install fonts and configure the font in your terminal.
|
||||
|
||||
- install: oh-my-posh install font https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/3270.zip`,
|
||||
- install: oh-my-posh font install https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/3270.zip`,
|
||||
ValidArgs: []string{
|
||||
"install",
|
||||
"configure",
|
||||
|
|
|
@ -212,7 +212,7 @@ func (m *main) View() string {
|
|||
case installFont:
|
||||
return textStyle.Render(fmt.Sprintf("%s Installing %s", m.spinner.View(), m.fontname))
|
||||
case quit:
|
||||
return textStyle.Render("No need to install a new font? That’s cool.")
|
||||
return textStyle.Render("No need to install a new font? That's cool.")
|
||||
case done:
|
||||
return textStyle.Render(fmt.Sprintf("Successfully installed %s 🚀", m.fontname))
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue