Wed, 19 Oct 2011 (17:48 +0200 UTC) Uwe Brauer wrote:
> Uwe Brauer writes:
> untested
> alias xemacs='( export PAGER=cat ; xemacs )'
You mean to fire that up in bash shell?
It seems to work!
Thanks!!!!
But usually I work in tcsh shell
How could I add the corresponding alias in .tcshrc?
Uwe
Uwe,
Try
alias xemacs '(setenv PAGER cat ; /usr/local/bin/xemacs)'
I think that would work. I think if you use xemeacs by itself after the
semicolon, you might get the alias interpreted in the shell, so I added
the path.
I tried the following, and it seemed to work:
frunobulax% alias testforuwe '(setenv PRINTME "Hello World" ; echo
$PRINTME)'
frunobulax% testforuwe
Hello World
frunobulax%
I use tcsh, also. Note, the variable that you set only stays current for
the parenthesized command, just as in the bash example.
robert
--
Go naked for a sign.
-Hakim Bey
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta