zsh-workers
 help / color / mirror / code / Atom feed
* Feature Suggestion
@ 1997-11-11 16:53 ramos
  1997-11-11 17:40 ` Bruce Stephens
  0 siblings, 1 reply; 5+ messages in thread
From: ramos @ 1997-11-11 16:53 UTC (permalink / raw)
  To: zsh-workers


I would like to suggest a new zsh feature, to anybody who
has the inclination to implement it:

The "magic" relationship between path/PATH, manpath/MANPATH,
and fpath/FPATH (are there others?) should be made genericly
available via a typeset flag. e.g.

	# Ties myarray and MYARRAY as a "mirrored" array & colon-
	# separated-scalar pair.

	typeset -m myarray=(x y z)
	echo $MYARRAY

	(output: x:y:z)	

And, why be restricted to ":" as separator for the scalar?

	typeset -m"," LIST=a,b,c
	echo $list[2]

	(output: b)

Or actually, why be restricted by the lowercase/upercase convention?

	# Syntax still needs some thought

	typeset -m myarray1:myarray2

While we're on the subject of arrays... it would be nice if there
was a way to use array values without having to first assign it to
a variable. e.g.

	x=(a b c); echo $x[2] 	# works
	echo (a b c)[2]		# doesn't
	echo $[(a b c)[2]]	# doesn't either

Thanks,
--
Alex Ramos


^ permalink raw reply	[flat|nested] 5+ messages in thread
* feature suggestion
@ 2023-07-28  5:15 Terrance Hendrik
  2023-07-28 19:08 ` Aaron Schrab
  0 siblings, 1 reply; 5+ messages in thread
From: Terrance Hendrik @ 2023-07-28  5:15 UTC (permalink / raw)
  To: zsh-workers

[-- Attachment #1: Type: text/plain, Size: 151 bytes --]

Dear developers,

Please add `apt info` as same function as `apt install` into  `_apt-cmd` of
`functions/Completion/Debian/_apt`


thanks
-- 
Terrance

[-- Attachment #2: Type: text/html, Size: 275 bytes --]

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

end of thread, other threads:[~2023-07-31 14:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-11-11 16:53 Feature Suggestion ramos
1997-11-11 17:40 ` Bruce Stephens
2023-07-28  5:15 feature suggestion Terrance Hendrik
2023-07-28 19:08 ` Aaron Schrab
2023-07-31 14:56   ` Terrance Hendrik

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).