* switching a context
@ 2006-11-24 6:22 Une Bévue
2006-12-05 0:27 ` Andrew Ruder
0 siblings, 1 reply; 3+ messages in thread
From: Une Bévue @ 2006-11-24 6:22 UTC (permalink / raw)
To: zsh-workers
On my bow i do have to installation of ruby
one under /opt/local
another under ~/
the first is the standard ruby the second is another version of ruby
callable by java thru jRuby.
they have in common some names of env vars :
as for example GEM_HOME but they do not have to point to the same
directory.
they have also in common names of scripts.
here it is esier to make the differnce
when i have "gem" for the first ruby i use jgem for jRuby by aliasing :
alias jgem="$JRUBY_HOME/jruby $JRUBY_BIN/gem"
then, the question is, when i use such an alias may i have a way to
switch the context, that's to say :
instead of having $GEM_HOME=/opt/local...
having $GEM_HOME=~/...
is that possible using zsh ?
Yvon
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-12-05 3:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-24 6:22 switching a context Une Bévue
2006-12-05 0:27 ` Andrew Ruder
2006-12-05 3:38 ` Une Bévue
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).