zsh-users
 help / color / mirror / code / Atom feed
* help for writing GNU stow completion
@ 2019-08-06 17:04 Aurélien
  2019-08-15 23:36 ` dana
  0 siblings, 1 reply; 5+ messages in thread
From: Aurélien @ 2019-08-06 17:04 UTC (permalink / raw)
  To: zsh-users

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-08-17  7:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-06 17:04 help for writing GNU stow completion Aurélien
2019-08-15 23:36 ` dana
2019-08-16  1:28   ` Daniel Shahaf
2019-08-16  1:54     ` dana
2019-08-17  7:48   ` Aurélien

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).