zsh-workers
 help / color / mirror / code / Atom feed
* Re: Best practices for managing aliases in ohmyzsh?
       [not found] <41fa241f119fdb9b8598293aad345823@dondley.com>
@ 2021-08-31  8:06 ` Anssi Saari
  0 siblings, 0 replies; only message in thread
From: Anssi Saari @ 2021-08-31  8:06 UTC (permalink / raw)
  To: zsh-workers; +Cc: zsh-users

Steve Dondley <s@dondley.com> writes:

> I switched to zsh last week and learning the ropes. My .zshrc is
> quickly growing out of hand.
>
> I'm using omyzsh and just learned that functions should got into a
> ~/.oh-my-zsh/functions where they are autoloaded.
>
> Now I'm wondering if there is some similar mechanism for adding
> aliases with ohmyzsh. If not, what's everyone else doing who has a
> couple hundred aliases.

I'm a little curious, how do you remember a couple hundred aliases? I
just took a look, I have 61 but with a quick and generous count I think
I use at most 23 of those even occasionally. Some of the aliases are
really old, like, say an alias to backup my Palm Pilot? Um. I guess I
should really clean up here.

But, I have a global zshrc that has my common settings and functions and
most common aliases too and then a few more in ~/.aliases.zsh which I
source from the main zshrc if it exists.



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-08-31  9:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <41fa241f119fdb9b8598293aad345823@dondley.com>
2021-08-31  8:06 ` Best practices for managing aliases in ohmyzsh? Anssi Saari

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