Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
help for writing GNU stow completion
- X-seq: zsh-users 24127
- From: Aurélien <orel_jf@xxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: help for writing GNU stow completion
- Date: Tue, 6 Aug 2019 19:04:00 +0200
- Autocrypt: addr=orel_jf@xxxxxxxx; prefer-encrypt=mutual; keydata= mQINBFnrjSUBEADGm1wZcrhssIdITo581Nen6VlNeO/Yh28fmlYhKtSME53emVhg7TYqu/cM eJV1SxRE/fZCx7yNX9IARCjCuhvXRrsLoxbuRHlybALDfByv7OJBUJhd6JU/Trubx68fLs+W fKXqRqNN4Pobezgg8/vA9LU/aWhj46LCOcFD0MpxfnxW56IzunV443xlYUGdDehdBEosUNlf 9KuJ24d5PpgzNHe9bB6LVLZvVoO164aAoeKLifC8MtV11JOk43wsZkM1ZCNjt3GU2qFv4/Jo 6M9Wo6oLvuvnh1xKrCJa/zh3Kx3IQ1CbNjXHLna5TF7Zx6KLUUNaLnFzymdMjnzvnLyH1GvA N7yKcyG5uKaqZGq2v8h20fcp/ag/SoZOhC9TMELBGlSuwoTV0qXX/uYaraxAaCwBIENL8tKp Kqo5LX4AgTKHq60C6rJnjTUSX68RbvSEJacoIzVXMM1wpGOmp0fH4KqHsaN9pTOQ4vuU+K7f ptTqmWiBZXTqRCmIo11AC3Po50EeeYdtjB+OMfvNLSk5q226/gR9p5oBc58B0zeG9Kt1nl33 zG01spC20rv7awXhw5WMeGR14mZ5X5UShb5hIyA3bSyErGuvN+J0HCCN3WdH3ZEO2Ols20az QCZwZwcwju/06ZDGAJzoTxqMeOIFHWwPDrcbXpbinR8EacwTkQARAQABtCRBdXLDqWxpZW4g T0xJVklFUiA8b3JlbF9qZkB5YWhvby5mcj6JAlQEEwEIAD4WIQRpjQYRG7yMFUmG5I9INEIz GKktMAUCWeuNJQIbAwUJA8JnAAULCQgHAgYVCAkKCwIEFgIDAQIeAQIXgAAKCRBINEIzGKkt MDtoD/4tXQ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Je+u3Q1lcPfkjtn6
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.fr; s=s2048; t=1565111045; bh=M1UjeVMOc61clTx2m81qgOaioidP6CrWXzuX6UtCOFA=; h=To:From:Subject:Date:From:Subject; b=t1VVta0PoWc32jAWS2e6ZU+rZxDLCyA/QRPBE/zWNoK2iivt6METGfW/A4L/1gSYqtP3BelXcAWTM2BI53gh+Z30F9uEOMGTovumdZVIgzQIHrd03Me2gs2HN4bNaTmAT/4faCP1ODKb+axR1PUFuMNnoxp21oLU0gu8dQKOCt4tZKNgcl+VxCixbK+QrzmE0gc2ay8mpX3d8Y/bGVGLBdCaUpUU2uqdCwrlJ3QL/CARLsFXNi6C2iPLeTcOSd+SXxha6ojDlEKVA7ScG6D0Zv7CE//n53dtowogwvHY1c1kmO0mBBieUThWcWhd+KXuZG94GrAlxn5yxAWpurAFuQ==
- 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
- Openpgp: preference=signencrypt
Hello,
I started working on a completion script for GNU Stow. The work in
progress version is visible on github
(https://github.com/zsh-users/zsh/pull/36/files). It works, but I'm
stuck on the evaluation of a variable like "$HOME"....
Context: GNU Stow is a symbolic link manager, which is based on packages
stored in a directory (the '--dir' option). The completion allows to
propose the packages present in this directory.
From the command line, when I try to complete something like this:
% stow --dir=$HOME/.dotfiles/
I get: 'no packages found in $HOME/.dotfiles/'
It seems that "$HOME" is not evaluated, and it is the same with "~". Is
there a way to evaluate these elements?
Thank's
--
Aur??lien
Messages sorted by:
Reverse Date,
Date,
Thread,
Author