Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Completion of empty directories
- X-seq: zsh-users 23768
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Completion of empty directories
- Date: Fri, 23 Nov 2018 11:11:39 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= daniel.shahaf.name; h=message-id:from:to:mime-version :content-transfer-encoding:content-type:date:subject; s=fm1; bh= 1EO6cl10GZq1EfVRPPnJsQHpZ7OoJ88iilOskSMWvyw=; b=Qc+BbugT4mFvObGs i76d/Pxm091/wf0ybeAOveyVFStFXGtoSeQR+QU4sfZXwOd1h/yPyZwy2E6HcfjR g83zEQiqoyORhLKBeCNswkgvSIcevX4oXDEUPiM5jHfc4bMFqmDLKH0DHkh/z4p0 SqG5H3s4iKKUtV+dvqsjHuC8ketHyliCfW+ZCOnO7H2RSuxOL0jLo5y2yFTQ/eAE 4xoZ1i5gdfJTje3c58dB1WlaO/xwpToNktyvdgjF5q6us4FiL8gcrMlRqpQpWyZR F1/kmwgncsSI1BeAx1NDuwUrEex/OT1i8/ty3El7fLWAteqM9SlumnWn/+TpUFD3 KwwxFg==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=1EO6cl 10GZq1EfVRPPnJsQHpZ7OoJ88iilOskSMWvyw=; b=EqLAo8xEf6KpTMzzO+dfMU 1g7vFQ3SwDhj4Tqj+5nT5ohwSYRJCFD8fvs4kVsD72XODeZwiQ4ObIRguU+JxE30 hCC53mVYF0Cl81QLNpIDEPzQzgEWKAt6bm7Vs6dLU4jakg98NRqzQQyabooZNvbQ sG6M1HeeO0hANNj6lSYiL/bVldFe5TpC/pS4XmdSrcnKPOMgfCF96AnT1/jsTKp7 C4C8WCnOBzSh+ILIL5ZaA+FZq1RPCYtA9/AFP9qYFy+yyf9X+Y+eCsXDiBQFDmsl i/Rp/UPlK3UC6YzCwQZdI6p8dxQRy/emfsQMIqBD0wg7oT4p4SzAoHnblwxYkJXg ==
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
$ zsh -f
% mkdir xxx
% mv * x/<TAB>
When xxx/ is empty, the <TAB> does nothing. Could it complete x/ to xxx/?
Using _complete_debug (on another example, xxx/f/ -> xxx/foo/ with
xxx/foo/ being empty) I see that xxx/foo/ _is_ getting matched against,
but I haven't been able to identify the point (in _path_files,
presumably) where it is checked that the directory is non-empty.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author