#10556: Add button to Mac App to add sage executable to PATH
----------------------------------+-----------------------------------------
Reporter: iandrus | Owner: iandrus
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-feature
Component: user interface | Resolution:
Keywords: mac app | Work issues: say to use profile, not
bashrc
Report Upstream: N/A | Reviewers:
Authors: Ivan Andrus | Merged in:
Dependencies: #11026 | Stopgaps:
----------------------------------+-----------------------------------------
Changes (by kcrisman):
* status: needs_review => needs_work
* dependencies: #8473, #11026 => #11026
* work_issues: => say to use profile, not bashrc
Comment:
Status: I like this. But I couldn't get it to work with the `~/bin`
version. Even after moving my .profile (confirmed in effect) and then
creating the .bashrc with only the requested line, it didn't work. Yes, I
closed the terminal and opened a new one.
Now, the soft link works, because `./bin/sage` works. And the
/usr/local/bin version works great. So this is almost ready. In some
sense, it IS ready - when I change my .profile to include the requested
line, it works!
So I'd just say to change your advice. See
[http://apple.stackexchange.com/questions/12993/why-doesnt-bashrc-run-
automatically this apple.stackexchange question].
{{{
By default, Terminal starts the shell via /usr/bin/login, which makes the
shell a login shell.
On every platform (not just Mac OS X) bash does not use .bashrc for login
shells
(only /etc/profile and the first of .bash_profile, .bash_login, .profile
that exists and is readable).
This is why “put source ~/.bashrc in your .bash_profile” is standard
advice. –
}}}
Otherwise this is fine, modulo whatever problems in #11026 that would
cause this to need rebasing if that were changed.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10556#comment:13>
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.