openfoam/etc/config.sh
Mark Olesen 7f01a4beda CONFIG: address differences between shells
- suppress error messages that appear with zsh.
  According to unset(1p), 'unset -f' unsets a function.
  If the function was not previously defined, this is a no-op.
  This is similar for zsh, but there it emits a warning if the
  function was not previously defined.

- avoid 'local' in functions sources from etc/bashrc.
  ksh does not support this.

- use 'command' shell builtin instead of 'type'.
  Seems to be more consistent between shell flavours.
2017-04-20 11:02:54 +02:00
..
example ENH: minor improvements to environment 2017-03-20 08:57:12 +01:00
ADIOS CONFIG: address differences between shells 2017-04-20 11:02:54 +02:00
aliases CONFIG: address differences between shells 2017-04-20 11:02:54 +02:00
ccmio ENH: reduce reliance on FOAM_EXT_LIBBIN during builds 2017-04-04 15:28:42 +02:00
CGAL CONFIG: address differences between shells 2017-04-20 11:02:54 +02:00
compiler ENH: default jobControl now under the '~/.OpenFOAM/jobControl' directory 2017-04-03 08:28:15 +02:00
ensight STYLE: avoid old-style shell backticks in various places 2017-02-20 09:30:58 +01:00
FFTW CONFIG: address differences between shells 2017-04-20 11:02:54 +02:00
functions CONFIG: address differences between shells 2017-04-20 11:02:54 +02:00
gperftools CONFIG: address differences between shells 2017-04-20 11:02:54 +02:00
metis COMP: cleanup linking of MGridGen 2017-04-18 18:46:11 +02:00
mgridgen COMP: cleanup linking of MGridGen 2017-04-18 18:46:11 +02:00
mpi CONFIG: address differences between shells 2017-04-20 11:02:54 +02:00
paraview CONFIG: address differences between shells 2017-04-20 11:02:54 +02:00
scotch ENH: add tags marking user configuration sections 2017-02-20 10:57:30 +01:00
settings STYLE: use FOAM_UTILITIES in Make/options 2017-04-07 08:17:43 +02:00
unset CONFIG: address differences between shells 2017-04-20 11:02:54 +02:00
vtk CONFIG: address differences between shells 2017-04-20 11:02:54 +02:00