Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: fallout from 37689 and 39949, completing ~-/<tab> broken when no OLDPWD
- X-seq: zsh-workers 40059
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh workers <zsh-workers@xxxxxxx>
- Subject: Re: fallout from 37689 and 39949, completing ~-/<tab> broken when no OLDPWD
- Date: Thu, 1 Dec 2016 08:50:36 -0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version; bh=7LZUFBulR4RWonRmq6MYHd+rodmJDxqhEeajgeRoGkE=; b=yjpe0x/cyWpsJCMPEid1ITId2piz6ivthJC+HTPbN3hZ6/YvZFp5x8SUZmnu65jqXI 5oEibyGEWfpOCavFcVRVWvOJmXQZ27r1IOQKXQlUHup7XDPCKuSYGcGcrG6fwvZeeaxK NKozcC+Ql+mV6u4GpiIbAbhbQpeFAHmooMR2fBYFK5lVn0d0HzHMnDVF5z+kNe5SsryK NvpywIAKO9xOTU+pTD+pUds24TVPE49BUlFXq0j+UPBjwfKaXK0yBShgBp4u5LuER9en AULY+A5WO94lfAvpn3putdn3N87DocnLguS4nOlZd0UDpW60UOO5y6rOdxTkSY4qirOK +r+A==
- In-reply-to: <CAHYJk3QnQ--CCD=aAUgdrRmrFCf4uLKujiZBavJpNpJkFkuZkA@mail.gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CAHYJk3QnQ--CCD=aAUgdrRmrFCf4uLKujiZBavJpNpJkFkuZkA@mail.gmail.com>
On Dec 1, 10:38am, Mikael Magnusson wrote:
} Subject: fallout from 37689 and 39949, completing ~-/<tab> broken when no
}
} Prior to 37689 it worked fine (completing files in the current
} directory), after that commit it completed nothing, after 39949 it
} started instead printing
} _path_files:309: no such user or named directory: -
Hmm. I still have the completes-nothing behavior. Fragment of trace:
+_path_files:277> [[ '~' = \~ && '' = (|`) ]]
+_path_files:286> linepath=-
+_path_files:287> [[ -z - ]]
+_path_files:289> [[ - = ([-+]|)[0-9]## ]]
+_path_files:308> [[ - = [-+] ]]
+_path_files:309> realpath='~-/'
+_path_files:317> linepath='~-/'
+_path_files:318> [[ '~-/' = \~-/ ]]
+_path_files:318> return 1
} % a='~-/'; echo $~a
} zsh: no such user or named directory: -
That, however, I can reproduce.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author