Indrajit Raychaudhuri
6e1f4ddd19
[completion] Minor cleanup of zstyle completion 'tag-order'
...
De-duplicate common zstyle 'tag-order' for ssh, scp and rsync.
7 years ago
Indrajit Raychaudhuri
3f99519021
Prefer evaluation over test for arithmetic expression
...
Usage of `(( ... ))` over `[[ ... ]]` is preferred for arithmetic expression
since the former is less error prone.
Also, unset local variable whenever possible.
8 years ago
Kaleb Elwert
871b15663c
Cache the completion for a quicker startup
...
The original idea was by @samjonester in #1210 . This version aims to avoid
relying on the stat or date programs because they have different flags depending
on the OS and if it uses BSD or GNU coreutils.
8 years ago
Anton Löfgren
5c0e68f75f
completion: Cap max-errors at 7 to avoid hanging ( #953 )
...
7 is pretty arbitrarily chosen, but seems like a reasonable tradeoff, at
least the completion no longer shows symptoms of exponential
time-growth when trying to complete something completely wrong.
This fixes #946 .
8 years ago
Scott Stevenson
6a812ed36b
Correct typos in completion module
10 years ago
Sorin Ionescu
88aee30ae8
[ Fix #762 ] Use $LOGNAME instead of $USER
...
$USER is deprecated.
10 years ago
Sorin Ionescu
a84ac5b002
Only one newline at end of file
10 years ago
Jongwook Choi
62198b0326
Display full command line on suggestion for the kill command
...
For the zsh suggestion for the 'kill' command, show full command line
(command: usually with arguments) instead of only the executable name (comm).
10 years ago
Sorin Ionescu
b42479a7c7
Set WORDCHARS in the editor module
12 years ago
Sorin Ionescu
5d4282c43d
[ Fix #347 ] Move 'users' from tag-order to group-order
12 years ago
Shahar Mintz
decf3cd875
Fix auto completion for SSH hosts when saved with a non-standard port
12 years ago
Sorin Ionescu
8cdf06e386
[ #255 ] Use $ZDOTDIR or $HOME
12 years ago
Sorin Ionescu
fb9a20591f
[ Fix #197 ] Rebrand as Prezto
...
Conflicts:
README.md
runcoms/zshenv
12 years ago
Sorin Ionescu
1ea238e276
[ Fix #256 ] Rename .zcache to .zcompcache
12 years ago
Sorin Ionescu
3b87a4db48
Update external completions
12 years ago
Sorin Ionescu
9a52ecb21b
Increase heading readability
13 years ago
Sorin Ionescu
060d9064f8
[ Fix #202 ] Load modules all or nothing
13 years ago
Sorin Ionescu
be2c8decdb
Use $HOME instead of ~
13 years ago
Sorin Ionescu
c0f2007646
[ Fix #135 ] Set completion default list-colors
13 years ago
Sorin Ionescu
c24273e4d2
Rename the completion module zstyle
13 years ago
Indrajit Raychaudhuri
e79fc7a1aa
Add IPv6 patterns to ignore list of host completion
13 years ago
Sorin Ionescu
5edd663510
[ Fix #160 ] Exclude all words but the current one
13 years ago
Sorin Ionescu
e5ec94af42
Check for non-empty files, not just existance
13 years ago
Sorin Ionescu
6233ec6aad
[ #23 ] Add a module loading function
13 years ago
Sorin Ionescu
92816f6db7
[ #23 ] Convert completion into a module
13 years ago