diff --git a/etc/bashrc b/etc/bashrc
index 7340532d7e468d2e286ef49edc0abceec8f47c25..43f628bb1298b45b266ddcd8f0ab39ee3f6752f3 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 165a8a5e2f1028ec4c6f49ee5ef47f553b00a7e5..819068b6e031a49fc1353640315f87a7fa326319 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