zsh-users
 help / color / mirror / code / Atom feed
From: Perry Smith <pedz@easesoftware.com>
To: Zsh-Users List <zsh-users@zsh.org>
Subject: Looking for sage advice
Date: Mon, 15 Aug 2022 16:02:45 -0500	[thread overview]
Message-ID: <1A03F8D3-45EB-41B4-BD7A-0A12DE5B7C85@easesoftware.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 465 bytes --]

I want to write “something” that effectively does

function xlargs
{
  tr ‘\n’ ‘\0’ | xargs -0 $*
}

Would you recommend doing this as an autoload function or as an alias?  The reason I ask is because back when I used bash and something called rvm, all of my aliases proved to be a horrible wrench for their bash shell scripts.  So I’ve sorta sworn off of aliases but I’m wondering if that is imprudent.

Thank you for your time,
Perry


[-- Attachment #1.2: Type: text/html, Size: 1385 bytes --]

[-- Attachment #2: Message signed with OpenPGP --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

             reply	other threads:[~2022-08-15 21:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-15 21:02 Perry Smith [this message]
2022-08-15 21:42 ` Felipe Contreras
2022-08-15 21:47   ` Perry Smith

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1A03F8D3-45EB-41B4-BD7A-0A12DE5B7C85@easesoftware.com \
    --to=pedz@easesoftware.com \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).