Mercurial > mxe-octave
changeset 2965:d35eda9fb1f3
octaverc file
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 24 Jan 2013 17:39:08 -0500 |
parents | 1955438b24dc |
children | 26638973a661 |
files | mk-dist octaverc |
diffstat | 2 files changed, 10 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mk-dist Thu Jan 24 17:33:34 2013 -0500 +++ b/mk-dist Thu Jan 24 17:39:08 2013 -0500 @@ -63,6 +63,9 @@ tar -c -h -X $TOPDIR/excluded-gcc-files -f - . | ( cd $OCTAVE_DIST_DIR ; tar xpf - ) cp $TOPDIR/build_packages.m $OCTAVE_DIST_DIR/src +echo " octaverc file..." +cp $TOPDIR/octaverc $OCTAVE_DIST_DIR/share/octave/site/m/startup/octaverc + echo " native tools..." cd $TOPDIR/native-tools/usr tar -c -h -X $TOPDIR/excluded-native-files -f - . | ( cd $OCTAVE_DIST_DIR ; tar xpf - )
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/octaverc Thu Jan 24 17:39:08 2013 -0500 @@ -0,0 +1,7 @@ +## System-wide startup file for Octave. +## +## This file should contain any commands that should be executed each +## time Octave starts for every user at this site. +EXEC_PATH (cstrcat (fullfile (OCTAVE_HOME, 'notepad++'), pathsep, EXEC_PATH)); +EXEC_PATH (cstrcat (fullfile (OCTAVE_HOME, 'bin'), pathsep, EXEC_PATH)); +edit ("editor", cstrcat (fullfile (OCTAVE_HOME, 'notepad++', 'notepad++.exe'), ' %s'));