On Sun, Mar 25, 2012 at 11:43:27PM EDT, Jingxin Feng wrote:

> Hello,
> I set up alias ls as ls -F --color=auto in .bash_profile and it works fine.
> However, when I start screen, it does not work. Do I need any special
> setting in .screenrc? Thanks
> 
> system: 2.6.35.13-92.fc14.x86_64
> 
> .screenrc
> 
> hardstatus alwayslastline
> hardstatus string '%{= kG}[ %{G}%H %{g}][%=
> %{=kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%=
> %{g}][%{B}%Y-%m-%d %{W}%c %{g}]'
> 
> # Default screens
> ......
> 
> altscreen on
> shell $SHELL
> 

Per the FAQ at http://www4.informatik.uni-erlangen.de/~jnweiger/screen-faq.html,
this should be:

| shell -$SHELL            # with a ‘-’ (dash) ..

See also ‘info screen’ or ‘man screen’ for the desccription of the
‘shell’ screen command.

Otherwise you could move your alias definition to your ~/.bashrc.

CJ

-- 

WE GET SIGNAL


_______________________________________________
screen-users mailing list
screen-users@gnu.org
https://lists.gnu.org/mailman/listinfo/screen-users

Reply via email to