summaryrefslogtreecommitdiffstats
path: root/Completion/Core
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-04-05 11:07:25 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-04-05 11:07:25 +0000
commitfc426939cc5a8bc7acd809f9e013e6c10ede044f (patch)
treef66d42b2c035775db72f91cef6ff594712f9cfb8 /Completion/Core
parenttwo small completion fixes (diff)
downloadzsh-fc426939cc5a8bc7acd809f9e013e6c10ede044f.tar
zsh-fc426939cc5a8bc7acd809f9e013e6c10ede044f.tar.gz
zsh-fc426939cc5a8bc7acd809f9e013e6c10ede044f.tar.bz2
zsh-fc426939cc5a8bc7acd809f9e013e6c10ede044f.tar.lz
zsh-fc426939cc5a8bc7acd809f9e013e6c10ede044f.tar.xz
zsh-fc426939cc5a8bc7acd809f9e013e6c10ede044f.tar.zst
zsh-fc426939cc5a8bc7acd809f9e013e6c10ede044f.zip
renaming some styles
Diffstat (limited to 'Completion/Core')
-rw-r--r--Completion/Core/_path_files4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Core/_path_files b/Completion/Core/_path_files
index 2c5362e17..183d59af3 100644
--- a/Completion/Core/_path_files
+++ b/Completion/Core/_path_files
@@ -86,7 +86,7 @@ if (( ! $mopts[(I)-[JVX]] )); then
mopts=( "$mopts[@]" "$expl[@]" )
fi
-if zstyle -s ":completion:${curcontext}:files" sort tmp1; then
+if zstyle -s ":completion:${curcontext}:files" file-sort tmp1; then
case "$tmp1" in
*size*) sort=oL;;
*links*) sort=ol;;
@@ -464,7 +464,7 @@ for prepath in "$prepaths[@]"; do
if [[ -n $menu || -z "$compstate[insert]" ]] ||
! zstyle -t ":completion:${curcontext}:paths" expand suffix; then
- (( tmp4 )) && zstyle -t ":completion:${curcontext}:paths" cursor &&
+ (( tmp4 )) && zstyle -t ":completion:${curcontext}:paths" ambiguous &&
compstate[to_end]=''
if [[ "$tmp3" = */* ]]; then
compadd -Qf "$mopts[@]" -p "$linepath$tmp2" -s "/${tmp3#*/}" \