On Sun, Apr 05, 2015 at 10:50:47PM -0300, Henrique Lengler wrote: > And it is called in ~.profile with this: > . /home/henri/.kshrc > > The problem is that these definitions work out of X, in the console, > logged as the same user (henri) but don't work under X. > I open a xterm window and and type clr, I receive: > /bin/ksh: clr: not found > But out of X it works, can someone help me to make this thing work > normally?
What I have done is set "ENV=$HOME/.kshrc" in .profile, then whenever you open a new shell, it will use that file as a shell startup file. $ man ksh | grep -A2 '^ *ENV' ENV If this parameter is found to be set after any profile files are executed, the expanded value is used as a shell startup file. It typically contains function and alias definitions. l8rZ, -- andrew - http://afresh1.com The 3 great virtues of a programmer: Laziness, Impatience, and Hubris. --Larry Wall