Comments (3)
Hi, Joe! Thanks very much for your feedback!
For now, the order does not matter if you use with zsh-syntax-highlighting only.
But if you use it with some other zsh-contribs, it will be matter.
I've been playing/experimenting with select-word-style
+ url-quote-magic
+ zsh-syntax-highlighting
.
In this particular case, I have to source/configure these things in this order.
- autoload and configure
select-word-style
andurl-quote-magic
then - source
zsh-syntax-highlighting
and at last - source
auto-fu.zsh
So, I want to say that please source auto-fu.zsh
at the very last of ~/.zshrc
:)
(Ah sorry.
If you want to play with these combination with the recent zsh-syntax-highlighting, you also need this patch
Sorry for the inconvenience, I will push this out for some time.)
diff --git a/auto-fu.zsh b/auto-fu.zsh
index 009891d..163603b 100644
--- a/auto-fu.zsh
+++ b/auto-fu.zsh
@@ -1401,7 +1401,7 @@ afu-initialize-register-zle-contrib-all () {
# _zsh_highlight only
afu-initialize-register-zle-contrib~ $bname $uname t
;;
- ((#b)(*) '&& _zsh_highlight')
+ ((#b)(*) '-- "$@" && _zsh_highlight')
# _zsh_highlight plus custom widget
afu-initialize-register-zle-contrib~ $bname \
${${widgets[${match}]}#user:} nil $uname
from auto-fu.zsh.
Can you please check this commit into the pu branch?
from auto-fu.zsh.
I've pushed this hunk into pu
.
Thank you for your suggestion!
from auto-fu.zsh.
Related Issues (20)
- License HOT 2
- Disable menu completion HOT 2
- Weird error when using functions HOT 1
- Add an option to blacklist some commands HOT 2
- Not compatible with ZSH Vi-mode HOT 6
- breakage with upcoming zsh-5.0.3 HOT 4
- Causes undo widget not to work HOT 1
- Uninstall instructions? HOT 1
- completion for npm is super slow HOT 3
- Error message: with-afu-zle-rebinding:16: command not found: afu-zle-aysce-install and with-afu-zle-rebinding:16: command not found: -zle-force-install HOT 11
- implement bookmarks HOT 2
- set <backspace> to remove suggestions first HOT 3
- always complete to the first match HOT 1
- add history to results HOT 3
- [Feature Request] Does not send unaccepted completion after enter pressed HOT 2
- do NOT change what user has typed
- Causes duplicate prompts. HOT 1
- Recent zsh-syntax-highlighting breaks auto-fu
- Doesn't auto-fu.zsh support `visual` ? HOT 2
- Does auto-fu support prefix history filter?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from auto-fu.zsh.