-
- Downloads
Fix conditionals to use [[ and (( rather than [
This fixes a small issue in src/widgets.zsh which makes it so if you alias [ to g[ (as is done in prezto if the gnu-utility module is loaded) autosuggestions would fail. The documentation for GNU test mentions that -o and -a should be avoided if possible because it's not very clear. Also, with zsh and [[ -o actually tests if an option is set, which makes this option even more confusing.
Showing
- spec/integrations/rebound_bracket_spec.rb 13 additions, 0 deletionsspec/integrations/rebound_bracket_spec.rb
- src/async.zsh 1 addition, 1 deletionsrc/async.zsh
- src/bind.zsh 6 additions, 6 deletionssrc/bind.zsh
- src/highlight.zsh 2 additions, 2 deletionssrc/highlight.zsh
- src/start.zsh 1 addition, 1 deletionsrc/start.zsh
- src/widgets.zsh 13 additions, 13 deletionssrc/widgets.zsh
- zsh-autosuggestions.zsh 23 additions, 23 deletionszsh-autosuggestions.zsh
Loading
Please register or sign in to comment