Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
directory alias
- X-seq: zsh-users 18191
- From: shawn wilson <ag4ve.us@xxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: directory alias
- Date: Tue, 3 Dec 2013 22:21:53 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=gfXx7+ba6aRJkYfbjQz1VoL7nVCv1xrwV2ivAGcJSJs=; b=mTLiMmBsKah0MfsiIB1XuA+N1G1NpLb4hlzPhpWjKpce1TDAdiPPQ77jiyRaPwQeaU l5aF0ixlTNgmDH/YTLknIfoQvCqLkqbM/a7G45sl1T+1yqBgRrtUIvjQHIKdHKtJ3VNJ UsebFl8QeBE2XhLpFbpIZ7JGw1vEctQXQPW1KS7JNUaz/Iv3mdpMfbD/cRrqBkpQkVl/ G8YWlNmtTbKPlca875e1YeGamm9IIknsGm5JAH5kstkZUOnquhLBoXaiCLRf8+SzxOhN tA4BAQJuzy3TBbfdJrIiwa9n3dzzE/ZoRCrbUy0tolg3in/vvC6JgAgViDjYlySH7Lpk 1GkA==
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
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?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author