From fbc8b7ec900f22497ccedc257d3da40baa930d6f Mon Sep 17 00:00:00 2001
From: Sandipan Mohanty <s.mohanty@fz-juelich.de>
Date: Tue, 23 May 2023 10:05:55 +0200
Subject: [PATCH] PYTHONPATH and MANPATH in pathutils.sh

---
 code/bash/pathutils.sh | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/code/bash/pathutils.sh b/code/bash/pathutils.sh
index 676e304..51acdf2 100644
--- a/code/bash/pathutils.sh
+++ b/code/bash/pathutils.sh
@@ -2,7 +2,7 @@
 
 # ***********************************************
 #  High-performance scientific computing in C++
-#  07 -- 10 June 2022
+#  29 May -- 02 June 2023
 #  Jülich Supercomputing Centre
 # ***********************************************
 
@@ -61,11 +61,22 @@ incpathadd() {
 incpathrm() {
     remove_path_element CPATH $1
 }
+manpathadd() {
+    prepend_path MANPATH $1
+}
+manpathrm() {
+    remove_path_element MANPATH $1
+}
 cmpathadd() {
     prepend_path CMAKE_PREFIX_PATH $1
 }
 cmpathrm() {
     remove_path_element CMAKE_PREFIX_PATH $1
 }
-
+pypathadd() {
+    prepend_path PYTHONPATH $1
+}
+pypathrm() {
+    remove_path_element PYTHONPATH $1
+}
 
-- 
GitLab