Opened 15 years ago
Closed 15 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 |
Description
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) http://www.gnu.org/software/bash/manual/html_node/Bash-Startup-Files.html ("Invoked with name sh")
Change History (2)
comment:1 by , 15 years ago
Cc: | added |
---|
comment:2 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Should be fixed now. Terminal uses getpwuid() and uses the shell of the current user since hrev34902.