[MacPorts] #46019: Bash completion fails when in tmux or screen

MacPorts noreply at macports.org
Wed Nov 26 02:35:20 PST 2014


#46019: Bash completion fails when in tmux or screen
------------------------------+----------------------
  Reporter:  audvare@…        |      Owner:  raimue@…
      Type:  defect           |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.3.3
Resolution:                   |   Keywords:
      Port:  bash-completion  |
------------------------------+----------------------

Comment (by cal@…):

 No need to go all `dscl` on this; the `chsh` utility does the same job
 without fiddling with directory services internals.

 To find out whether you're getting the system bash, use `echo
 $BASH_VERSION`. If it's 3.x, that's your explanation for non-functional
 bash completion.

 I assume tmux and screen just invoke the `login` binary to start a session
 and a shell, and that starts whatever the user's default shell is, which
 is why you're seeing this behaviour. You might be able to change that if
 you configure screen or tmux to not use the login command but rather start
 a shell directly.

-- 
Ticket URL: <https://trac.macports.org/ticket/46019#comment:5>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list