Opened 13 years ago

Closed 12 years ago

#4174 closed bug (fixed)

the default shell should be bash

Reported by: brecht Owned by: jackburton
Priority: normal Milestone: R1
Component: Applications/Terminal Version: R1/pre-alpha1
Keywords: Cc: brecht@…, planche2k@…
Blocked By: Blocking:
Platform: All


Terminal's default shell is /bin/sh (1). While sh links to bash, this causes bash to mimic the startup behavior of sh (2). For example, bash will try to source ~/.profile instead of ~/.bash_profile. Is it necessary for bash to run in this compatibility mode.

(1) source:haiku/trunk/src/apps/terminal/Shell.cpp@29533#L272). (2) ("Invoked with name sh")

Change History (2)

comment:1 by andreasf, 13 years ago

Cc: planche2k@… added

comment:2 by jackburton, 12 years ago

Resolution: fixed
Status: newclosed

Should be fixed now. Terminal uses getpwuid() and uses the shell of the current user since hrev34902.

Note: See TracTickets for help on using tickets.