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
Sorin Ionescu
647ac1ac00
Return 1 when a file fails to load
13 years ago
Sorin Ionescu
b96bbca51c
Added or edited file headers.
13 years ago
Sorin Ionescu
f0499b76c3
Use zstyle instead of variables for configuration.
13 years ago
Sorin Ionescu
9d27df2050
Tradition dictates that options are uppercase.
13 years ago
Sorin Ionescu
faeca82831
The functions directory should only hold functions.
13 years ago
Sorin Ionescu
65c5f613e1
Improved completion.
14 years ago
Sorin Ionescu
3fd9cf9f86
Renamed lib/ to functions/ and renamed files inside of it.
14 years ago
Sorin Ionescu
94ab5e0ec8
Cleaned up lib/ and removed trailing white space everywhere.
...
Conflicts:
oh-my-zsh.sh
14 years ago
Sorin Ionescu
f26a86795e
Disabled complist since it's crashing ZSH on menu completion.
14 years ago
Sorin Ionescu
deab2ed376
Fix for dumb terminals like Vim's.
14 years ago
Pat Regan
af0b6ac28f
Moved compinit call back to oh-my-zsh.sh, after plugins are loaded
14 years ago
Pat Regan
a56e12932f
Moved the single compinit call from oh-my-zsh.sh to lib/completion.zsh
14 years ago
Pat Regan
782883b5d8
Replace redundant calls to compinit with a single call.
14 years ago
Woody Gilk
88faaec7c9
Enable alias completion, do not limit completion to just files
14 years ago
Robby Russell
7b8cf376d1
Revert "Enable alias completion, do not limit completion to just files"
...
This reverts commit c3a58b00040018743ead1e6672910433fc1ca7c2.
14 years ago
gwjo
86ca51a6b7
Completion fixes
...
Use /etc/hosts in addtion to $HOME/.ssh/known_hosts as the source for
hostname completion
Turn on completion caching to speed up certain comands
When completing usernames, don't include system accounts by default
14 years ago
Tomas Kramar
3570f0d243
Do not complete named-directories
14 years ago
Robby Russell
4381863fd2
Removing legacy completion code
15 years ago
John Reese
ab010947ae
Ignore errors from compaudit when using `sudo -s`
15 years ago
kremso
9ec6086282
Don't autoselect first completion entry ( Fixes #14 )
...
The key here is not using MENU_COMPLETE which autoselects the first
entry, but using AUTO_MENU which displays the menu but autoselects
on successive tab hit.
Also, do not use zstyle menu yes because that somehow overrides
the setopts.
15 years ago
Toon Claes
8e3e355ce3
Revert
15 years ago
Toon Claes
0c3b9a6f88
Completion from history
15 years ago
Robby Russell
6326573fa2
Only using the contents of .ssh/known_hosts when the file exists for ssh/scp auto-completion. Closes issue #20
15 years ago
To1ne
1617d8116d
Added some comment
15 years ago
Matthew Donoughe
a44b5660bf
should probably use the value of CASE_INSENSITIVE
15 years ago
Matthew Donoughe
92f2cf94ad
allow case sensitivity to be toggled
15 years ago
Robby Russell
8dd06e3c73
Moving all zsh config options into a lib/ subdirectory to make way for some upcoming changes to directory structure and configuration options
15 years ago