[MacPorts] #49487: Please add notes for changing login shell

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[MacPorts] #49487: Please add notes for changing login shell

MacPorts
#49487: Please add notes for changing login shell
-------------------------+--------------------------------
 Reporter:  code@…       |      Owner:  macports-tickets@…
     Type:  enhancement  |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.3.4
 Keywords:               |       Port:
-------------------------+--------------------------------
 Please add notes to let people know that if the user's login shell is
 bash, it will not get upgraded when this bash port is installed.
 One must do the following.


 - Check current bash shell version with

 {{{
 echo $BASH_VERSION
 }}}

 - Add /opt/local/bin/bash to /etc/shells
 - change default login shell

 {{{
 chsh -s /opt/local/bin/bash
 }}}

 - Open a new shell and check $BASH_VERSION again

--
Ticket URL: <https://trac.macports.org/ticket/49487>
MacPorts <https://www.macports.org/>
Ports system for OS X
_______________________________________________
macports-tickets mailing list
[hidden email]
https://lists.macosforge.org/mailman/listinfo/macports-tickets
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #49487: bash: Please add notes for changing login shell (was: Please add notes for changing login shell)

MacPorts
#49487: bash: Please add notes for changing login shell
--------------------------+----------------------
  Reporter:  code@…       |      Owner:  raimue@…
      Type:  enhancement  |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.3.4
Resolution:               |   Keywords:
      Port:  bash         |
--------------------------+----------------------
Changes (by ryandesign@…):

 * owner:  macports-tickets@… => raimue@…
 * port:   => bash


Comment:

 I assume this ticket is about the bash port.

--
Ticket URL: <https://trac.macports.org/ticket/49487#comment:1>
MacPorts <https://www.macports.org/>
Ports system for OS X
_______________________________________________
macports-tickets mailing list
[hidden email]
https://lists.macosforge.org/mailman/listinfo/macports-tickets
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #49487: bash: Please add notes for changing login shell

MacPorts
In reply to this post by MacPorts
#49487: bash: Please add notes for changing login shell
--------------------------+----------------------
  Reporter:  code@…       |      Owner:  raimue@…
      Type:  enhancement  |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.3.4
Resolution:               |   Keywords:
      Port:  bash         |
--------------------------+----------------------

Comment (by raimue@…):

 You are right, you need to configure your environment to use a different
 shell. You should be able to change that by editing your terminal
 settings. For example instructions see the [wiki:howto/bash-
 completion#Step3:UsebashfromMacPortsinyourterminal bash-completion HOWTO].
 The advantage is that you usually do not need to edit system files in
 /etc/shells, which are not guaranteed to be preserved across system
 updates.

--
Ticket URL: <https://trac.macports.org/ticket/49487#comment:2>
MacPorts <https://www.macports.org/>
Ports system for OS X
_______________________________________________
macports-tickets mailing list
[hidden email]
https://lists.macosforge.org/mailman/listinfo/macports-tickets
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #49487: bash: Please add notes for changing login shell

MacPorts
In reply to this post by MacPorts
#49487: bash: Please add notes for changing login shell
--------------------------+--------------------
  Reporter:  code@…       |      Owner:  raimue
      Type:  enhancement  |     Status:  closed
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.3.4
Resolution:  wontfix      |   Keywords:
      Port:  bash         |
--------------------------+--------------------
Changes (by raimue):

 * status:  new => closed
 * resolution:   => wontfix


Comment:

 I will not advise users to edit `/etc/shells` or change the login shell.
 In the worst case, Terminal will no longer open new windows when the shell
 does not launch (e.g. due to library version mismatch, such as an ncurses
 update). In this situation, it is quite complicated to get back to a
 shell. Advanced users might change their login shell, but for others it is
 better to just set it in the Terminal preferences.

--
Ticket URL: <https://trac.macports.org/ticket/49487#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
Loading...