On Mar 17, 2013, at 8:54 PM, Robert Connolly <rob...@secondfloor.ca> wrote:

> Hi. I have tried using both ~/.kshrc and ~/.profile to set an alias such as:
> alias ls='ls -F'
> and it doesn't work automatically on login. The files are being sourced, 
> because my definition of PATH and PKG_PATH work. If I source the files 
> manually, with:
> . ~/.profile
> then the aliases work.
> 
> So what am I doing wrong?
> 
> Thanks
> 

.profile:

export ENV=$HOME/.kshrc

.kshrc:

alias ls='ls -F'

I actually use this line instead:

. ~/.ksh-alias

and in .ksh-alias I put all my aliases.

Sean

Reply via email to