I'm guessing it's because the script is being executed in a subshell, not in
the main shell.  I put "personal" aliases in ~/.bash_profile, and that works
for me.


Mark Post

-----Original Message-----
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] Behalf Of
Wolfe, Gordon W
Sent: Friday, December 17, 2004 5:50 PM
To: [EMAIL PROTECTED]
Subject: alias in SLES9


Here's a wierd one:

I issue the command alias x="/usr/bin/the" to set up a shortcut for the
hessling editor.  It works from the command line.

The same command placed inside /etc/profile.local doesn't create the alias.
/etc/profile.local has read/execute permissions for everyone and other
commands in there do execute.  I only have trouble with alias.

Any ideas?

So one elephant says to another, "You'll never believe what happened last
night. I was trying on Groucho Marx's pajamas--and he shot me!"
Gordon Wolfe, Ph.D. (425)865-5940
VM Technical Services, The Boeing Company

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to