mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-15 23:08:16 +08:00
Compare commits
2 Commits
f2b605cf81
...
b625edcb81
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b625edcb81 | ||
|
|
0cec811a3c |
@ -17,9 +17,9 @@ If the user has installed `rg`([ripgrep](https://github.com/BurntSushi/ripgrep))
|
||||
# ~/.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.
|
||||
@ -65,6 +65,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).
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user