1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-27 08:10:08 +00:00

Typo and defaults fix README.md

Defaults stated in the docs seem to be incorrect: 

62cf1201b0/plugins/alias-finder/alias-finder.plugin.zsh (L17-L19)
This commit is contained in:
J0J0 Todos 2024-10-05 08:02:12 +02:00 committed by GitHub
parent 62cf1201b0
commit 0cec811a3c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -15,9 +15,9 @@ To enable it for every single command, set zstyle in your `~/.zshrc`.
# ~/.zshrc # ~/.zshrc
zstyle ':omz:plugins:alias-finder' autoload yes # disabled by default 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' longer yes # enabled by default
zstyle ':omz:plugins:alias-finder' exact yes # disabled by default zstyle ':omz:plugins:alias-finder' exact yes # enabled by default
zstyle ':omz:plugins:alias-finder' cheaper yes # disabled by default zstyle ':omz:plugins:alias-finder' cheaper yes # enabled by default
``` ```
As you can see, options are also available with zstyle. 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 `--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 `--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).