help / color / mirror / 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


This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.vuxu.org/zsh-workers

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 zsh-workers zsh-workers/ https://inbox.vuxu.org/zsh-workers \
	public-inbox-index zsh-workers

Example config snippet for mirrors.
Newsgroup available over NNTP:

code repositories for the project(s) associated with this inbox:


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git