From fc426939cc5a8bc7acd809f9e013e6c10ede044f Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Wed, 5 Apr 2000 11:07:25 +0000 Subject: renaming some styles --- Completion/Core/_path_files | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Completion/Core/_path_files') 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#*/}" \ -- cgit 1.4.1