Date: Wed, 27 May 1998 18:13:46 +0200 (CEST) From: Malte Lance <malte@webmore.com> To: Lanny Baron <beef@cybertouch.org> Cc: freebsd-questions@FreeBSD.ORG, drifter@stratos.net Subject: Re: problem alias's in Xwindows (from .profile) Message-ID: <XFMail.980527181346.malte@webmore.com> In-Reply-To: <Pine.BSF.3.96.980527020038.356B-100000@cybertouch.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 27-May-98 Lanny Baron wrote: > On Tue, 26 May 1998 drifter@stratos.net wrote: >> On Tue, May 26, 1998 at 02:25:33AM -0400, Lanny Baron wrote: >> > Hello, >> > I was wondering if anyone knows how to get colorls working in an xterm. > Thanks for the response to my problem. To answer you, I use bash or bash2. > But in my > .login file I have the following line: How about "man bash" ??? There you will find out, that bash uses ~/.bashrc and ~/.bash_profile as startup-scripts. ~/.bash_profile for login-shells ~/.bashrc for non-login-shells > TERM=xterm-color; export TERM put this in ~/.bashrc > alias x='exit' > alias ls='colorls -FG' > alias ll='colorls -FGl' > alias la='colorls -FGal' this goes in ~/.bash_profile Malte. >> > I have >> > my alias set up in .profile as ls='colorls -FG' and in .xinitrc the xterm >> > is as follows: >> >> Did you try: >> >> $ export TERM=xterm-color # For /bin/sh and friends >> >> or >> >> % setenv TERM xterm-color # For /bin/csh or tcsh >> >> -drifter >> > Hi, > > Thanks for the response to my problem. To answer you, I use bash or bash2. > But in my > .login file I have the following line: > > TERM=xterm-color; export TERM > > alias x='exit' > alias ls='colorls -FG' > alias ll='colorls -FGl' > alias la='colorls -FGal' > > In addition, in anything but the first 2 xterm windows that open when > starting X, the > colorls as well as an alias: alias ts='telnet shell.tht.net' > will not work. > > If you can help me I would be most grateful. > > Again thanks for your help in advance!! > > Regards.... > > lanny > > * Lanny Baron * In the Beginning He Said "Let there > be Light" >| Have you had your BEEF today? | He saw it was good. A few days later >| He said >| http://www.tht.net/~beef | "Let there be computers for mankind" >| And the > * * PC was made. He then turned on His > heavenly >| Want a great operating system? | pc and the heavenly monitor displayed >| try FreeBSD, it's remarkable! | "Welcome to FreeBSD" And he jumped >| for joy. > * http://www.FreeBSD.org * > &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message ---------------------------------- E-Mail: Malte Lance <malte@webmore.com> Date: 27-May-98 Time: 17:56:16 ---------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.980527181346.malte>