New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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 #34
Comments
ハイ、こんにちわ! Mucho gusto @Firef0x . Ugh, I suspect something went wrong for generating the
|
そうですね !
Here is the output: ** zcompiling auto-fu in /home/f/.zsh for a little faster startups...
+ mkdir -p /home/f/.zsh
* writing code /home/f/.zsh/auto-fu
* re-compiling /home/f/.zsh/auto-fu.zwc: succeeded
** All done.
** Please update your .zshrc to load the zcompiled file like this,
-- >8 --
## auto-fu.zsh stuff.
# source ~/codes/auto-fu.zsh/auto-fu.zsh
{ . ~/.zsh/auto-fu; auto-fu-install; }
zstyle ':auto-fu:highlight' input bold
zstyle ':auto-fu:highlight' completion fg=black,bold
zstyle ':auto-fu:highlight' completion/one fg=white,bold,underline
zstyle ':auto-fu:var' postdisplay $'\n-azfu-'
zstyle ':auto-fu:var' track-keymap-skip opp
zle-line-init () {auto-fu-init;}; zle -N zle-line-init
zle -N zle-keymap-select auto-fu-zle-keymap-select
-- 8< -- The same error message still shows after executing the command. Hope for your reply ! |
Thank you very much reporting back! Does same error still happen if your (... other stuff)
## auto-fu.zsh stuff.
source ~/codes/auto-fu.zsh/auto-fu.zsh
# { . ~/.zsh/auto-fu; auto-fu-install; }
... And, Could you post some portions of I want to see with-afu-zle-rebinding () {
local -a restores
{
eval "$(afu-rebind-expand restores self-insert; afu-rebind-expand restores backward-delete-char; afu-rebind-expand restores backward-kill-word; afu-rebind-expand restores kill-line; afu-rebind-expand restores kill-whole-line; afu-rebind-expand restores kill-word; afu-rebind-expand restores magic-space; afu-rebind-expand restores yank; afu-rebind-expand restores complete-word; afu-rebind-expand restores list-choices;)"
afu-zle-force-install () {
zle -N self-insert self-insert-by-keymap
zle -N backward-delete-char backward-delete-char-by-keymap
zle -N backward-kill-word backward-kill-word-by-keymap
zle -N kill-line kill-line-by-keymap
zle -N kill-whole-line kill-whole-line-by-keymap
zle -N kill-word kill-word-by-keymap
zle -N magic-space magic-space-by-keymap
zle -N yank yank-by-keymap
zle -C complete-word .complete-word _main_complete
zle -C list-choices .list-choices _main_complete
}
afu-zle-force-install
{
"$@"
}
} always {
eval "function afu-zle-rebind-restore () { ${(j.;.)restores} }"
afu-zle-rebind-restore
$0 () {
{
afu-zle-force-install
{
"$@"
}
} always {
afu-zle-rebind-restore
}
}
}
} |
Error message still shows, but not the same. Here is the output: afu-rh-clear-maybe:3: maximum nested function level reached
$ cd ( Then I type 'cd', and the same error message shows again immediately)
afu-rh-clear-maybe:3: maximum nested function level reached Seems like thing's gonna be worse~~~
Here is the whole file:
I've compared the part you mentioned, and found only one difference. It' s in https://gist.github.com/Firef0x/88c833e7590860fd53a7#file-auto-fu-L681 , which is Then I replace |
So it means that I have to replace Or this is really a bug in this project 🈶 🐛 ❓ ❔ Hope for your reply ! Yours sincerely |
I'm very sorry, it's too late. Thank you very much for posting on https://gist.github.com/Firef0x/88c833e7590860fd53a7#file-auto-fu. Yes. I have wanted to see this line: But I cannot figure out how this line came from… Line 1461 in 42dbef5
I suspect that above line may have afu-zle-aysce-install somehow.
|
I just did a clean clone to my computer, and the file What's more, there is no output of the command Hope for your reply ! Yours sincerely |
Thank you very much for your clarifications. These are quite trial and errors: A=/path/to/auto-fu.zsh; zsh -c "source $A; functions with-afu-zle-rebinding" It may or may not be a configration problem, zsh -c 'zmodload zsh/parameter; for k v in ${(kv)options}; do echo $k $v; done' What's happening in general when creating A=/path/to/auto-fu.zsh
(zsh -c "setopt xtrace; source $A ; auto-fu-zcompile ~/.zsh/") > /tmp/z.log 2>&1 Sorry, these will take lots of your time. |
See https://gist.github.com/Firef0x/a09d323e816005603ed6#file-output1
See https://gist.github.com/Firef0x/a09d323e816005603ed6#file-output2
See https://gist.github.com/Firef0x/a09d323e816005603ed6#file-z-log Hope for your reply ! Yours sincerely |
Thanks, I'm glad to hear this. This is very OK.
This is exactly the same as mine. Thank you very much.
After fiddling around with some paths informations in my trace output file, --- "z.log\342\200\262" 2014-10-08 20:44:03.432413089 +0900
+++ a09d323e816005603ed6/z.log 2014-10-08 20:39:24.472742730 +0900
@@ -620,7 +620,7 @@
zle -C list-choices .list-choices _main_complete
}
- afu-zle-force-install
+ afu-zle-aysce-install
{ "$@" }
} always {
eval "function afu-zle-rebind-restore () { ${(j.;.)restores} }" Ugh… Sorry, I have no idea… Sorry for the inconvenience, for now, please do below commands to A=/path/to/auto-fu.zsh; (zsh -c "source $A ; auto-fu-zcompile $A ~/.zsh/ =(echo 'afu-zle-aysce-install () afu-zle-force-install;')") Or please add below snippets in your '~/.zshrc': afu-zle-aysce-install () afu-zle-force-install; Thank you very much for your reports and taking lots of your time. |
Okey-dokey! I get it! I'll keep this issue open. どうもありがとうございます ! Yours sincerely |
こんにちわ~~ @hchbaw 君
The following error are showing up alternately every time I start a new terminal.
and
A bit similar to issue #22 from @joe9 , but I think it's better to make a new issue to report it.
What's more, the following command just outputs a blank line.
How could I fix the error message?
Hope for your reply !!! お愿いします!
FYI
python-powerline-git 1809.558b608-1
auto-fu.zsh
Version: https://github.com/hchbaw/auto-fu.zsh/blob/pu/auto-fu.zshI've zcompiled
auto-fu.zsh
into~/.zsh
.zshrc
:The text was updated successfully, but these errors were encountered: