TopGit theo dõi marlonrichert/zsh-autocomplete trên GitHub, đã đạt 6.8k sao. 🤖 Real-time type-ahead completion for Zsh. Asynchronous find-as-you-type autocompletion.
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
This plugin for Zsh adds real-time type-ahead autocompletion to your command line, similar to what
you find in desktop apps. While you type on the command line, available completions are listed
automatically; no need to press any keyboard shortcuts. Press Tab to insert the top
completion or ↓ to select a different one.
Additional features:
Out-of-the-box configuration of Zsh's completion system
Multi-line history search
Completion of recent directories
Useful keyboard shortcuts
Easy to configure
Enjoy using this software? Become a sponsor! 💝
Requirements
Recommended:
Tested to work with Zsh 5.8 and newer.
Minimum:
Should theoretically work with Zsh 5.5.1
Installation & setup
Note: In this manual, % represents the command line prompt. If you see it in front of a command,
it means you should run it on the command line, not put it in a script.
First, install Autocomplete itself. Here are some way to do so:
To use only releases (instead of the main branch), install zsh-autocomplete with a package
manager. As of this writing, this package is available through Homebrew, Nix, pacman, Plumage,
and (as app-shells/zsh-autocomplete) Portage.
To always use the latest commit on the main branch, do one of the following:
Install the AUR package
zsh-autocomplete-gitAUR
from the Arch User Repository (for example, using yay, an AUR
helper):
yay -S zsh-autocomplete-git
Use a Zsh plugin manager to install marlonrichert/zsh-autocomplete. (If you don't have a
plugin manager yet, I recommend using Znap.)
Finally, restart your shell. Here's two ways to do so:
Open a new tab or window in your terminal.
Replace the current shell with a new one:
% exec zsh
Updating
If you installed manually, run:
% git -C ~autocomplete pull
Otherwise, simply use your package manager or plugin manager's update mechanisms.
Uninstalling
Revert the actions you took to install.
Restart your shell.
Keyboard shortcuts
The keyboard shortcuts below are available after installing Autocomplete in clean Zsh environment.
Other plugins or scripts might override these bindings. If you find that some shortcuts don't work
as expected, then you can fix them by
changing the order in which you source your plugins or by
running bindkey commands in your dotfiles after you source your plugins.
Depending on your terminal, not all keybindings might work for you. Also, instead of Alt,
your terminal might require you to press Escape, Option or Meta.
Finally, for keys that otherwise navigate the terminal buffer, such as PgDn and
PgUp, your terminal will require you to additionally press Shift or another
modifier key.
On the command line
The table below lists which keyboard shortcuts are available on the command line when a particular
keymap is active. The default keymap on the command line is main, which is not an actual keymap but
an alias for another one. When Autocomplete adds shortcuts to main, they will actually be added to
the keymap for which it at that point is an alias. If you run bindkey -v, then main becomes an
alias for viins.
main
emacs
vicmd
Command
Tab
Insert first listed completion
ShiftTab
Expand the current word
↓
CtrlN
J
Cursor down or enter completion menu
Alt↓
AltN
CtrlN
Enter completion menu
↑
CtrlP
K
Cursor up or enter history menu
Alt↑
AltP
CtrlP
Enter history menu
CtrlX/
Toggle recent path completion
CtrlR
/
Toggle history completion
CtrlS
?
Enter completion menu and start text search
Inside each menu
The shortcuts below are available inside both completion and history menus. They are defined in the
menuselect keymap and can be modified there. If a key is not bound in menuselect, then its
behavior depends on the keymap from which you opened the menu. See the Zsh manual's section on menu
selection for more info.
Key sequence
Command
Tab ShiftTab
Next/previous item
→ ← ↓ ↑
Item right/left/down/up
Alt↓ Alt↑
Section down/up
PgDn PgUp
Page down/up
CtrlS CtrlR
Start menu text search or go to next/previous match
Enter Return
Stop text search or exit menu
CtrlSpace
Add another item
Ctrl- Ctrl/
Undo last added item
CtrlC CtrlG
Undo all added items and exit menu
Configuration
See CONFIGURATION.md for the most commonly requested ways to configure
Autocomplete's behavior.
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/marlonrichert/zsh-autocomplete là nguồn chính thức.
marlonrichert/zsh-autocomplete có bao nhiêu sao?
marlonrichert/zsh-autocomplete có 6.8k sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/marlonrichert/zsh-autocomplete. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
marlonrichert/zsh-autocomplete có phải mã nguồn mở không?
Có — marlonrichert/zsh-autocomplete phát hành theo license MIT, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/marlonrichert/zsh-autocomplete.
marlonrichert/zsh-autocomplete còn đang phát triển không?
Commit gần nhất trên marlonrichert/zsh-autocomplete là 2 tháng trước (theo timestamp GitHub). Repo có 208 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
marlonrichert/zsh-autocomplete dùng license gì?
marlonrichert/zsh-autocomplete phát hành theo license MIT. Nên mở file LICENSE trên GitHub để xác nhận — license metadata đôi khi lệch với thực tế dự án.
marlonrichert/zsh-autocomplete là gì?
marlonrichert/zsh-autocomplete (marlonrichert/zsh-autocomplete) là dự án Shell trên GitHub. Theo mô tả gốc: 🤖 Real-time type-ahead completion for Zsh. Asynchronous find-as-you-type autocompletion.
marlonrichert/zsh-autocomplete viết bằng ngôn ngữ gì?
marlonrichert/zsh-autocomplete chủ yếu viết bằng Shell. Trường "language" của GitHub dựa trên phần lớn byte ở nhánh mặc định.
Đọc đầy đủ README ở tab phía trên.
zsh-autocomplete có đáng để bạn bỏ thời gian?
ChatGPT, Claude và Perplexity đều đọc được trang này. Hỏi thử xem họ nghĩ gì về zsh-autocomplete.