CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Tue, 05 Aug 2025 04:53:03 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20100724222739
location: https://web.archive.org/web/20100724222739/https://github.com/hchbaw/auto-fu.zsh/tree/v0.0.1.9
server-timing: captures_list;dur=1.083324, exclusion.robots;dur=0.040477, exclusion.robots.policy;dur=0.024669, esindex;dur=0.013934, cdx.remote;dur=12.783981, LoadShardBlock;dur=460.142700, PetaboxLoader3.resolve;dur=180.545715, PetaboxLoader3.datanode;dur=153.020540
x-app-server: wwwb-app200
x-ts: 302
x-tr: 551
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
set-cookie: wb-p-SERVER=wwwb-app200; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Tue, 05 Aug 2025 04:53:04 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.7.61
x-archive-orig-date: Sat, 24 Jul 2010 22:27:38 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-etag: "69f2dab5cb4e66778bef1d5026ae7647"
x-archive-orig-x-runtime: 103ms
x-archive-orig-content-length: 27706
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Sat, 24 Jul 2010 22:27:39 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Sat, 24 Jul 2010 22:27:39 GMT", ; rel="memento"; datetime="Sat, 24 Jul 2010 22:27:39 GMT", ; rel="last memento"; datetime="Sat, 24 Jul 2010 22:27:39 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 52_16_20100724213447_crawl101-c/52_16_20100724222116_crawl101.arc.gz
server-timing: captures_list;dur=3.354614, exclusion.robots;dur=0.134740, exclusion.robots.policy;dur=0.080804, esindex;dur=0.063248, cdx.remote;dur=126.734485, LoadShardBlock;dur=899.696908, PetaboxLoader3.datanode;dur=725.209268, PetaboxLoader3.resolve;dur=87.478804, load_resource;dur=185.371182
x-app-server: wwwb-app200
x-ts: 200
x-tr: 1392
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
hchbaw's auto-fu.zsh at v0.0.1.9 - GitHub
hchbaw / auto-fu.zsh
- Source
- Commits
- Network (1)
- Issues (0)
- Downloads (13)
- Wiki (1)
- Graphs
-
Tag:
v0.0.1.9
click here to add a description
click here to add a homepage
Sending Request…
#zsh automatic complete-word and list-choices. Originally incr-0.2.zsh by y.fujii <y-fujii at mimosa-pudica.net> — Read more
name | age | message | |
---|---|---|---|
![]() |
README.md | Thu Jul 15 10:26:26 -0700 2010 | Auto-fu 0.0.1.9 Signed-off-by: Takeshi Banse <... [hchbaw] |
![]() |
auto-fu.zsh | Thu Jul 15 10:26:26 -0700 2010 | Auto-fu 0.0.1.9 Signed-off-by: Takeshi Banse <... [hchbaw] |
README.md
zsh automatic complete-word and list-choices Originally incr-0.2.zsh Incremental completion for zsh by y.fujii <y-fujii at mimosa-pudica.net> Thank you very much y.fujii! Adapted by Takeshi Banse <takebi@laafc.net> I want to use it with menu selection. To use this, 1) source this file. % source auto-fu.zsh 2) establish `zle-line-init' containing `auto-fu-init' something like below. % zle-line-init () {auto-fu-init;}; zle -N zle-line-init 3) use the _oldlist completer something like below. % zstyle ':completion:*' completer _oldlist _complete (If you have a lot of completer, please insert _oldlist before _complete.) *Optionally* you can use the zcompiled file for a little faster loading on every shell startup, if you zcompile the necessary functions. *1) zcompile the defined functions. (generates ~/.zsh/auto-fu.zwc) % A=/path/to/auto-fu.zsh; (zsh -c "source $A ; auto-fu-zcompile $A ~/.zsh") *2) source the zcompiled file instead of this file and some tweaks. % source ~/.zsh/auto-fu; auto-fu-install *3) establish `zle-line-init' and such (same as a few lines above). Note: It is approximately *(6~10) faster if zcompiled, according to this result :) TIMEFMT="%*E %J" 0.041 ( source ./auto-fu.zsh; ) 0.004 ( source ~/.zsh/auto-fu; auto-fu-install; ) Configuration The auto-fu features can be configured via zstyle. :auto-fu:highlight input A highlight specification used for user input string. completion A highlight specification used for completion string. completion/one A highlight specification used for completion string if it is the only one candidate. :auto-fu:var postdisplay An initial indication string for POSTDISPLAY in auto-fu-init. postdisplay/clearp If set, POSTDISPLAY will be cleared after the accept-lines. 'yes' by default. enable A list of zle widget names the automatic complete-word and list-choices to be triggered after its invocation. Only with ALL in 'enable', the 'disable' style has any effect. ALL by default. disable A list of zle widget names you do *NOT* want the complete-word to be triggered. Only used if 'enable' contains ALL. For example, zstyle ':auto-fu:var' enable all zstyle ':auto-fu:var' disable magic-space yields; complete-word will not be triggered after pressing the space-bar, otherwise automatic thing will be taken into account. Configuration example 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 $' -azfu-' #zstyle ':auto-fu:var' disable magic-space XXX: use with the error correction or _match completer. If you got the correction errors during auto completing the word, then plese do _not_ do `magic-space` or `accept-line`. Insted please do the following, `undo` and then hit <tab> or throw away the buffer altogether. This applies _match completer with complex patterns, too. I'm very sorry for this annonying behaviour. (For example, 'ls --bbb' and 'ls --*~^*al*' etc.) XXX: ignoreeof semantics changes for overriding ^D. You cannot change the ignoreeof option interactively. I'm verry sorry. TODO: refine afu-able-space-p or better. TODO: https://d.hatena.ne.jp/tarao/20100531/1275322620 TODO: pause auto stuff until something happens. ("next magic-space" etc) TODO: handle RBUFFER. TODO: signal handling during the recursive edit. TODO: add afu-viins/afu-vicmd keymaps. TODO: handle empty or space characters. TODO: cp x /usr/loc TODO: region_highlight vs afu-able-p → nil TODO: ^C-n could be used as the menu-select-key outside of the menuselect. TODO: *-directories|all-files may not be enough. TODO: recommend zcompiling. TODO: undo should be reset the auto stuff's state. TODO: when `_match`ing, sometimes extra <TAB> key is needed to enter the menu select, sometimes is *not* needed. (already be entered menu select state.) History v0.0.1.9 add auto-fu-actitivate, auto-fu-deactivate and auto-fu-toggle. v0.0.1.8.3 in afu+complete-word PAGER=<TAB> ⇒ PAGER=PAGER= bug fix. Thank you very much for the report, tyru! v0.0.1.8.2 afu+complete-word bug fixes. v0.0.1.8.1 README.md v0.0.1.8 add completion/one and postdisplay/clearp configurations. add kill-word and yank to afu_zles. v0.0.1.7 Fix "no such keymap `isearch'" error. Thank you very much for the report, mooz and Shougo! v0.0.1.6 Fix `parameter not set`. Thank you very much for the report, Shougo! Bug fix. v0.0.1.5 afu+complete-word bug (directory vs others) fix. v0.0.1.4 afu+complete-word bug fixes. v0.0.1.3 Teach ^D and magic-space. v0.0.1.2 Add configuration option and auto-fu-zcompile for a little faster loading. v0.0.1.1 Documentation typo fix. v0.0.1 Initial version.