#10822: sage -sh doesn't set the path right if default shell is zsh on OSX
-----------------------+----------------------------------------------------
   Reporter:  jason    |       Owner:     
       Type:  defect   |      Status:  new
   Priority:  major    |   Milestone:     
  Component:  scripts  |    Keywords:     
     Author:           |    Upstream:  N/A
   Reviewer:           |      Merged:     
Work_issues:           |  
-----------------------+----------------------------------------------------

Comment(by jhpalmieri):

 Replying to [comment:8 jason]:
 > Okay, so if I use chsh to change my shell to bash, then sage -sh has the
 right $PATH.  John, if you change your shell to zsh using chsh, do you
 have the right $PATH?

 No, the Sage stuff comes at the end.  Also, the prompt is bad:
 {{{
 Macintosh% /Applications/sage/sage -sh

 Starting subshell with Sage environment variables set.
 Be sure to exit when you are done and do not do anything
 with other copies of Sage!

 Bypassing shell configuration files ...

 SAGE_ROOT=/Applications/sage\n(sage subshell) \h:\W \u$ echo $PATH
 
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:/usr/X11/bin:/Applications/sage/local/Frameworks/Python.framework/Versions/2.5/bin:/Applications/sage:/Applications/sage/local/bin
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10822#comment:10>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to