zsh-users
 help / color / mirror / code / Atom feed
* directory alias
@ 2013-12-04  3:21 shawn wilson
  2013-12-04  4:41 ` TJ Luoma
  2013-12-04  7:06 ` Dominik Vogt
  0 siblings, 2 replies; 7+ messages in thread
From: shawn wilson @ 2013-12-04  3:21 UTC (permalink / raw)
  To: Zsh Users

not sure if this is really a 'zsh thing' but I'm looking for a way to
create aliases for a command. I don't want a bunch of symlinks in my
home directory, and I don't want a universal alias for each directory
I commonly cd into. What I want is a way to do:
cd foo
and it go to ~/some/deep/directory/tree/foo
and
cd bar
and it go to /usr/local/some/path/bar

Is there some zsh-ism (or better bash-ism that also works in zsh so
that this works on systems I maintain without zsh) to do this without
symlinks?


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

end of thread, other threads:[~2013-12-06  7:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-04  3:21 directory alias shawn wilson
2013-12-04  4:41 ` TJ Luoma
2013-12-04  5:22   ` shawn wilson
2013-12-04  7:21     ` Bart Schaefer
2013-12-04 15:25   ` Christoph (Stucki) von Stuckrad
2013-12-06  7:25     ` shawn wilson
2013-12-04  7:06 ` Dominik Vogt

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