$ cat .bash_profile | sed -e '/^#/d' -e '/^$/d'
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
PATH=$PATH:$HOME/.local/bin:$HOME/bin
export PATH
echo "this is a login shell"

$ cat .bashrc | sed -e '/^#/d' -e '/^$/d'
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi

$ cat .screenrc
cat: .screenrc: No such file or directory



On Mon, Mar 3, 2014 at 2:36 PM, Rhys Ulerich <rhys.uler...@gmail.com> wrote:

> > Hmm. "screen -s -/bin/bash" starts a login shell for me.
>
> Bizarre.  Do you have something in your ~/.screenrc forcing that?  Or are
> your ~/.bashrc and ~/.profile setup to make those cases indistinguishable?
>
> > Did you try putting '-/bin/bash' in single quotes. That should escape
> the dash.
>
> No change.  Bash strips the single quotes providing the same arguments to
> the screen binary as without the single quotes.  Any escaping will have to
> be at the screen level.
>
> Thanks for the suggestions.
>
> - Rhys
>

-- 

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

Reply via email to