2 Comments

  1. Axel Scheepers
    Posted July 27, 2009 at 2:51 am | Permalink

    Most shells run as a login shell when you create an alias to it with a minus in front of it. In my case I had the same trouble with ksh which I had to install in my home directory.
    It’s installed in ~/sfw/bin/ksh, to make it start as a login shell under screen I created a softlink like so;
    cd ~/sfw/bin && ln -s ksh -ksh
    and then used ’shell -$SHELL’ in my .screenrc et voila.

  2. brian
    Posted July 27, 2009 at 7:39 am | Permalink

    Thanks Axel, I also learned the other day that you can change the CWD anytime in screen by typing `chdir ‘ at the command prompt ( C-a : )

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">