zsh-users
 help / color / mirror / code / Atom feed
* Announcement of xzmsg, a flexible message tool
@ 2023-01-19 11:36 Sebastian Gniazdowski
  2023-01-19 11:39 ` Sebastian Gniazdowski
  2023-01-19 14:04 ` Daniel Shahaf
  0 siblings, 2 replies; 3+ messages in thread
From: Sebastian Gniazdowski @ 2023-01-19 11:36 UTC (permalink / raw)
  To: Zsh Users

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

Hi,
I would like to announce a new, flexible message tool - xzmsg. It's capable
of:

- no quoting needed/expected, i.e. xzmsg My message, not xzmsg "My message",
- color aren't codes like with %F{174}, but names, that can be themed,
i.e.: {err}Error,
- a standard message preamble with [file:line] tag, for quick location of
the origin,
- themes (currently two: default.xzt and blue.xzt).
- runs as an autoload function/script on Zsh, or as a script on Bash.

Project page:
https://github.com/psprint/xzmsg

-- 
Best regards,
Sebastian Gniazdowski

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

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

* Re: Announcement of xzmsg, a flexible message tool
  2023-01-19 11:36 Announcement of xzmsg, a flexible message tool Sebastian Gniazdowski
@ 2023-01-19 11:39 ` Sebastian Gniazdowski
  2023-01-19 14:04 ` Daniel Shahaf
  1 sibling, 0 replies; 3+ messages in thread
From: Sebastian Gniazdowski @ 2023-01-19 11:39 UTC (permalink / raw)
  To: Zsh Users

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

I've forgot to mention that if a xz-format-NAME function exists, it's used
when {NAME} occurs, and is expected to output colorized string received in
$1, to allow e.g.: colorization of {file}tarball.tar.gz with e.g.: two or
three different colors.

On Thu, 19 Jan 2023 at 11:36, Sebastian Gniazdowski <sgniazdowski@gmail.com>
wrote:

> Hi,
> I would like to announce a new, flexible message tool - xzmsg. It's
> capable of:
>
> - no quoting needed/expected, i.e. xzmsg My message, not xzmsg "My
> message",
> - color aren't codes like with %F{174}, but names, that can be themed,
> i.e.: {err}Error,
> - a standard message preamble with [file:line] tag, for quick location of
> the origin,
> - themes (currently two: default.xzt and blue.xzt).
> - runs as an autoload function/script on Zsh, or as a script on Bash.
>
> Project page:
> https://github.com/psprint/xzmsg
>
> --
> Best regards,
> Sebastian Gniazdowski
>
>

-- 
Best regards,
Sebastian Gniazdowski

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

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

* Re: Announcement of xzmsg, a flexible message tool
  2023-01-19 11:36 Announcement of xzmsg, a flexible message tool Sebastian Gniazdowski
  2023-01-19 11:39 ` Sebastian Gniazdowski
@ 2023-01-19 14:04 ` Daniel Shahaf
  1 sibling, 0 replies; 3+ messages in thread
From: Daniel Shahaf @ 2023-01-19 14:04 UTC (permalink / raw)
  To: Zsh Users

Sebastian Gniazdowski wrote on Thu, Jan 19, 2023 at 11:36:50 +0000:
> I would like to announce a new, flexible message tool - xzmsg. It's capable
> of:

Note there's a rather more popular package that uses "xz" as its
namespace prefix:

[[[
% apt-file search bin/xz
xz-utils: /usr/bin/xz                     
xz-utils: /usr/bin/xzcat
xz-utils: /usr/bin/xzcmp
xz-utils: /usr/bin/xzdiff
xz-utils: /usr/bin/xzegrep
xz-utils: /usr/bin/xzfgrep
xz-utils: /usr/bin/xzgrep
xz-utils: /usr/bin/xzless
xz-utils: /usr/bin/xzmore
xzdec: /usr/bin/xzdec
xzgv: /usr/bin/xzgv
xzoom: /usr/bin/xzoom
]]]

xzdec and xzgv also use that namespace prefix; xzoom doesn't.


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

end of thread, other threads:[~2023-01-19 14:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-19 11:36 Announcement of xzmsg, a flexible message tool Sebastian Gniazdowski
2023-01-19 11:39 ` Sebastian Gniazdowski
2023-01-19 14:04 ` Daniel Shahaf

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