Suggested .octaverc for GNU Octave

Related: All my GNU Octave posts

Octave 4.2 brought startup.m persistent user settings like Matlab, but there are still some good things to put into your ~/.octaverc files.

Here’s my suggestions to include in your ~/.octaverc file for GNU Octave:

suppress_verbose_help_message(1)
page_screen_output(0)
crash_dumps_octave_core(0)
sigterm_dumps_octave_core(0)
sighup_dumps_octave_core(0)

EDITOR('nano > /dev/tty 2>&1 < /dev/tty %s')

The dumps options eliminate those octave-workspace files that appear when Octave is exited or crashes.

Fastest start Octave without GUI

add to ~/.bash_aliases

alias octave="octave -q --braindead --no-gui"

and be sure you’re not autoloading Octave packages

reference

GNU Octave .octaverc