Page "howto/bash-completion" was changed by raimue@macports.org Diff URL: <https://trac.macports.org/wiki/howto/bash-completion?action=diff&version=9> Revision 9 Comment: Document screen/tmux, see #46019 Changes: -------8<------8<------8<------8<------8<------8<------8<------8<-------- Index: howto/bash-completion ========================================================================= --- howto/bash-completion (version: 8) +++ howto/bash-completion (version: 9) @@ -70,4 +70,16 @@ From now on, MacPorts will automatically select the bash_completion variant for all ports if available. +== Additional Modifications == + +For some tools you need additional configuration as they rely on the login shell instead of using what the Terminal started. You can `export SHELL=/opt/local/bin/bash` to the environment, which is respected by both tmux and screen. Alternative configuration is shown below. + +=== screen === + +For screen, you need to set `shell /opt/local/bin/bash` in your `.screenrc`. + +=== tmux === + +For tmux, you need to set `set -g default-shell "/opt/local/bin/bash"` in your `.tmux.conf`. + [wiki:howto <- Back to the HOWTO section] -------8<------8<------8<------8<------8<------8<------8<------8<-------- -- Page URL: <https://trac.macports.org/wiki/howto/bash-completion> MacPorts <https://www.macports.org/> Ports system for OS X This is an automated message. Someone added your email address to be notified of changes on 'howto/bash-completion' page. If it was not you, please report to .