From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29237 invoked by alias); 10 Jan 2015 19:34:25 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 19722 Received: (qmail 14559 invoked from network); 10 Jan 2015 19:34:13 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=m+CPd3k9RSEig7kWCo4lTHwIOil51dS3NXUIqZEsHJo=; b=CfSVcWLDog/6yclB0ape+r1RWkq129y4kJLvvKtT6jkJo4jAVjhP4JOCx1eSaxX6a3 W3Oz1qX9IrvPknr+mthTI53yQX21+zr5F3Q5n94RWNuqPKKT3LlhCXTWcRBMdLFULeVm QKjV4ERX0zuzq2Ycbxp7OWNRiiaeUgVIJVi6HV7anbscPLS83+zyusr+WD5xQHL5TlnM CoUxQCEH++YGsYD1/fCWaJa+ItBPII1KNeQKFLc+KHcRQIF4tTPztmAArD7mxPb09SiG wvOcf599EEylkjKiIx5Y3/dn/N2Ss5SqXUHeXrgfE1DpxikaLqoOXi6xYlo7up/c9RKC t3kQ== X-Received: by 10.152.43.49 with SMTP id t17mr29186095lal.52.1420918449222; Sat, 10 Jan 2015 11:34:09 -0800 (PST) MIME-Version: 1.0 From: kamaraju kusumanchi Date: Sat, 10 Jan 2015 14:33:49 -0500 Message-ID: Subject: tab completion sort by modification time To: zsh-users@zsh.org Content-Type: text/plain; charset=UTF-8 Hi all, Long time bash user here. Looking to see if zsh can solve my particular problem. If it does, I'd like to switch to it. Say a directory contains a lot of files and say I am only interested in the files that were recently edited/created. When doing a tab completion inside this directory, I would like the files to be listed in the order of modification time (similar to ls -rt). This way the latest files show up at the end and I can easily copy/paste their names using mouse onto the command line. Is zsh tab completion system comprehensive enough to do something like this? FWIW, this feature is not present in bash at the moment - http://lists.gnu.org/archive/html/bug-bash/2014-12/msg00161.html . So I am looking for alternatives. thanks raju -- Kamaraju S Kusumanchi http://malayamaarutham.blogspot.com/