diff --git a/code/bash/pathutils.sh b/code/bash/pathutils.sh index 676e30470e630428d77c7d572c006f0c53a0ba7e..51acdf269116e1963f82ea3bcd8fce51eb9c05bc 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 +}