Re: [SLUG] Making an alias permanent...I need help

From: Paul M Foster (paulf@quillandmouse.com)
Date: Wed Oct 16 2002 - 00:43:26 EDT


On Tue, Oct 15, 2002 at 10:17:20PM -0400, David R. Meyer wrote:

> I am trying to make an alias permanent by adding it to the .bashrc
> file. However, I don't appear to be doing it right because it doesn't
> take. I am using pico to edit the file as I am not all that comfortable
> with vi (it's been a while).
>
> This is what is looks like:
>
> alias labs='ssh -l DT_xxxxxxx_xxxxx labs2.digitalthink.com'
>
> I know this works, but I've not gotten it to be permanent yet.
> Can someone fill me in as to what I am doing wrong?

Actually, why don't you just wrap this in a shell script? The only thing
I put in aliases is this:

EDITOR=$(which nano)
export EDITOR
alias edit = $EDITOR

Paul



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 16:16:41 EDT