diff --git a/etc/bashrc b/etc/bashrc index 7340532d7e..43f628bb12 100644 --- a/etc/bashrc +++ b/etc/bashrc @@ -180,6 +180,11 @@ _foamEtc -config CGAL _foamEtc -config scotch _foamEtc -config FFTW +if [ -d "$WM_PROJECT_DIR/doc/man1" ] +then + _foamAddMan "$WM_PROJECT_DIR/doc" +fi + # Interactive shell if /usr/bin/tty -s 2>/dev/null then diff --git a/etc/cshrc b/etc/cshrc index 165a8a5e2f..819068b6e0 100644 --- a/etc/cshrc +++ b/etc/cshrc @@ -216,6 +216,10 @@ _foamEtc -config ensight _foamEtc -config CGAL _foamEtc -config FFTW +if ( -d "$WM_PROJECT_DIR/doc/man1" ) then + _foamAddMan "$WM_PROJECT_DIR/doc" +endif + # Interactive shell if ($?prompt) then _foamEtc -config aliases