Commit 0b1396ad authored by Marcelo dos Santos Mafra's avatar Marcelo dos Santos Mafra Committed by GitHub

Change "install" to "activate" to make omf theme doc clearer (#816)

* As omf theme <name> won't install a theme per se, changing "install" to "activate" seems clearer. So omf theme will list installed and available themes, activate a installed one, but won't install one.

* As omf theme <name> won't install a theme per se, changing "install" to 
"activate" seems clearer. So omf theme will list installed and available 
themes, activate a installed one, but won't install one.
parent a17107e1
...@@ -20,7 +20,7 @@ Provides options to list, download and remove packages, update the framework, cr ...@@ -20,7 +20,7 @@ Provides options to list, download and remove packages, update the framework, cr
<<remove.adoc#,**r**emove>>:: Remove a package. <<remove.adoc#,**r**emove>>:: Remove a package.
<<repositories.adoc#,**repo**sitories>>:: Manage package repositories. <<repositories.adoc#,**repo**sitories>>:: Manage package repositories.
<<search.adoc#,**s**earch>>:: Search for a package or theme. <<search.adoc#,**s**earch>>:: Search for a package or theme.
<<theme.adoc#,**t**heme>>:: Install and list themes. <<theme.adoc#,**t**heme>>:: Activate and list available themes.
<<update.adoc#,**u**pdate>>:: Update Oh My Fish. <<update.adoc#,**u**pdate>>:: Update Oh My Fish.
<<version.adoc#,**version**>>:: Display version and exit. <<version.adoc#,**version**>>:: Display version and exit.
......
Install and list themes. Activate and list available themes.
== USAGE == USAGE
omf theme List available themes to install omf theme List available and installed themes
omf theme <name> Install theme by name omf theme <name> Activate theme by name
== EXAMPLES == EXAMPLES
omf theme omf theme
......
...@@ -45,6 +45,6 @@ complete -c omf -f -n "__fish_seen_subcommand_from repo repositories; and __omf_ ...@@ -45,6 +45,6 @@ complete -c omf -f -n "__fish_seen_subcommand_from repo repositories; and __omf_
complete -c omf -f -n "__fish_seen_subcommand_from repo repositories; and __omf_assert_args_count 1" -a list -d "List installed repositories" complete -c omf -f -n "__fish_seen_subcommand_from repo repositories; and __omf_assert_args_count 1" -a list -d "List installed repositories"
complete -c omf -f -n "__fish_seen_subcommand_from repo repositories; and __omf_assert_args_count 1" -a remove -d "Remove a package repository" complete -c omf -f -n "__fish_seen_subcommand_from repo repositories; and __omf_assert_args_count 1" -a remove -d "Remove a package repository"
complete -c omf -f -a search -n "__fish_use_subcommand" -d "Search for a plugin or theme" complete -c omf -f -a search -n "__fish_use_subcommand" -d "Search for a plugin or theme"
complete -c omf -f -a theme -n "__fish_use_subcommand" -d "Install and list themes" complete -c omf -f -a theme -n "__fish_use_subcommand" -d "Activate and list available themes"
complete -c omf -f -a update -n "__fish_use_subcommand" -d "Update Oh My Fish" complete -c omf -f -a update -n "__fish_use_subcommand" -d "Update Oh My Fish"
complete -c omf -f -a version -n "__fish_use_subcommand" -d "Display version" complete -c omf -f -a version -n "__fish_use_subcommand" -d "Display version"
...@@ -18,7 +18,7 @@ function describe_basic_tests ...@@ -18,7 +18,7 @@ function describe_basic_tests
echo $output | grep -Eq "remove.+Remove a package" echo $output | grep -Eq "remove.+Remove a package"
echo $output | grep -Eq "repositories.+Manage package repositories" echo $output | grep -Eq "repositories.+Manage package repositories"
echo $output | grep -Eq "search.+Search for a package or theme" echo $output | grep -Eq "search.+Search for a package or theme"
echo $output | grep -Eq "theme.+Install and list themes" echo $output | grep -Eq "theme.+Activate and list available themes"
echo $output | grep -Eq "update.+Update Oh My Fish" echo $output | grep -Eq "update.+Update Oh My Fish"
echo $output | grep -Eq "version.+Display version and exit" echo $output | grep -Eq "version.+Display version and exit"
assert 0 = $status assert 0 = $status
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment