zsh-users
 help / color / mirror / code / Atom feed
* Looking for sage advice
@ 2022-08-15 21:02 Perry Smith
  2022-08-15 21:42 ` Felipe Contreras
  0 siblings, 1 reply; 3+ messages in thread
From: Perry Smith @ 2022-08-15 21:02 UTC (permalink / raw)
  To: Zsh-Users List


[-- 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 --]

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

end of thread, other threads:[~2022-08-15 21:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-15 21:02 Looking for sage advice Perry Smith
2022-08-15 21:42 ` Felipe Contreras
2022-08-15 21:47   ` Perry Smith

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