Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: numeric sorting problem with completion list



In pws-12, completing the directory stack (as in cd ~+<tab>) was
sorting directories numbered over 10 after 1 instead of after 9. I've
fixed this problem before though the cause was quite different this
time. This patch fixes it.

Oliver

*** Completion/Core/_description	Fri Dec 10 19:39:40 1999
--- Completion/Core/_description	Thu Dec 16 16:49:41 1999
***************
*** 38,46 ****
    fi
  else
    if [[ -n "$format" ]]; then
!     eval "${name}=($hide -J -default- -X \"${format}\")"
    else
!     eval "${name}=($hide -J -default-)"
    fi
  fi
  
--- 38,46 ----
    fi
  else
    if [[ -n "$format" ]]; then
!     eval "${name}=($hide $gropt -default- -X \"${format}\")"
    else
!     eval "${name}=($hide $gropt -default-)"
    fi
  fi



Messages sorted by: Reverse Date, Date, Thread, Author