Re: screen -s -/bin/bash
Kevin Van Workum <[email protected]>
| Newsgroups | gmane.comp.gnu.screen.user |
|---|---|
| Message-ID | <CAHom8yt1+eX044HK=H1fqRoYuAg5+Lxr8a_pXFBdGsg-k+w8_w@mail.gmail.com> |
$ 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 <[email protected]> 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-mXXj517/[email protected] https://lists.gnu.org/mailman/listinfo/screen-users