From 0cec811a3c6cbc2d39605c6c722f540da6892778 Mon Sep 17 00:00:00 2001 From: J0J0 Todos <2733783+JOJ0@users.noreply.github.com> Date: Sat, 5 Oct 2024 08:02:12 +0200 Subject: [PATCH] Typo and defaults fix README.md Defaults stated in the docs seem to be incorrect: https://github.com/ohmyzsh/ohmyzsh/blob/62cf1201b031399e7251abeee859e895ee825a48/plugins/alias-finder/alias-finder.plugin.zsh#L17-L19 --- plugins/alias-finder/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/alias-finder/README.md b/plugins/alias-finder/README.md index a9bbd0838..2d8753385 100644 --- a/plugins/alias-finder/README.md +++ b/plugins/alias-finder/README.md @@ -15,9 +15,9 @@ To enable it for every single command, set zstyle in your `~/.zshrc`. # ~/.zshrc zstyle ':omz:plugins:alias-finder' autoload yes # disabled by default -zstyle ':omz:plugins:alias-finder' longer yes # disabled by default -zstyle ':omz:plugins:alias-finder' exact yes # disabled by default -zstyle ':omz:plugins:alias-finder' cheaper yes # disabled by default +zstyle ':omz:plugins:alias-finder' longer yes # enabled by default +zstyle ':omz:plugins:alias-finder' exact yes # enabled by default +zstyle ':omz:plugins:alias-finder' cheaper yes # enabled by default ``` As you can see, options are also available with zstyle. @@ -63,6 +63,6 @@ Running the shortest `gs` shell alias that it found: - Use `--longer` or `-l` to include aliases where the source is longer than the input (in other words, the source could contain the whole input). - Use `--exact` or `-e` to avoid aliases where the source is shorter than the input (in other words, the source must be the same with the input). -- Use `--cheaper` or `-c` to avoid aliases where the destination is longer than the input (in other words, the destination must be the shorter than the input). +- Use `--cheaper` or `-c` to avoid aliases where the destination is longer than the input (in other words, the destination must be shorter than the input).