There was an error fetching the commit references. Please try again later.
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.
Showing
- etc/bashrc 1 addition, 1 deletionetc/bashrc
- etc/config.csh/ADIOS 1 addition, 1 deletionetc/config.csh/ADIOS
- etc/config.csh/unset 4 additions, 2 deletionsetc/config.csh/unset
- etc/config.sh/ADIOS 2 additions, 2 deletionsetc/config.sh/ADIOS
- etc/config.sh/CGAL 1 addition, 1 deletionetc/config.sh/CGAL
- etc/config.sh/FFTW 1 addition, 1 deletionetc/config.sh/FFTW
- etc/config.sh/aliases 3 additions, 3 deletionsetc/config.sh/aliases
- etc/config.sh/functions 9 additions, 11 deletionsetc/config.sh/functions
- etc/config.sh/gperftools 1 addition, 1 deletionetc/config.sh/gperftools
- etc/config.sh/mpi 2 additions, 2 deletionsetc/config.sh/mpi
- etc/config.sh/paraview 1 addition, 1 deletionetc/config.sh/paraview
- etc/config.sh/unset 8 additions, 8 deletionsetc/config.sh/unset
- etc/config.sh/vtk 1 addition, 1 deletionetc/config.sh/vtk
- etc/cshrc 1 addition, 1 deletionetc/cshrc
- wmake/scripts/cmakeFunctions 1 addition, 1 deletionwmake/scripts/cmakeFunctions
Please register or sign in to comment