Skip to content
Snippets Groups Projects
Commit 99240d86 authored by Mark Olesen's avatar Mark Olesen
Browse files

ENH: add wmUNSET alias to source etc/unset.{csh,sh}

- renamed clearEnv -> unset
parent e2cf8f5c
Branches
Tags
No related merge requests found
......@@ -22,7 +22,7 @@
# along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
#
# File
# aliases.csh
# etc/aliases.csh
#
# Description
# Aliases for working with OpenFOAM
......@@ -38,6 +38,9 @@ alias wm32 'wmSET WM_ARCH_OPTION=32'
alias wmSP 'wmSET WM_PRECISION_OPTION=SP'
alias wmDP 'wmSET WM_PRECISION_OPTION=DP'
# clear env
alias wmUNSET='source $WM_PROJECT_DIR/etc/unset.csh'
# Toggle wmakeScheduler on/off
# - also need to set WM_HOSTS
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
......
......@@ -22,7 +22,7 @@
# along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
#
# File
# aliases.sh
# etc/aliases.sh
#
# Description
# Aliases for working with OpenFOAM
......@@ -38,6 +38,9 @@ alias wm32='wmSET WM_ARCH_OPTION=32'
alias wmSP='wmSET WM_PRECISION_OPTION=SP'
alias wmDP='wmSET WM_PRECISION_OPTION=DP'
# clear env
alias wmUNSET='. $WM_PROJECT_DIR/etc/unset.sh'
# Toggle wmakeScheduler on/off
# - also need to set WM_HOSTS
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
......
......@@ -22,7 +22,7 @@
# along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
#
# File
# etc/clearEnv.csh
# etc/unset.csh
#
# Description
# Clear as many OpenFOAM environment settings as possible
......@@ -165,6 +165,8 @@ unalias wm32
unalias wmSP
unalias wmDP
unalias wmUNSET
unalias wmSchedON
unalias wmSchedOFF
unalias foamPV
......
......@@ -22,7 +22,7 @@
# along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
#
# File
# etc/clearEnv.sh
# etc/unset.sh
#
# Description
# Clear as many OpenFOAM environment settings as possible
......@@ -144,6 +144,8 @@ unalias wm32
unalias wmSP
unalias wmDP
unalias wmUNSET
unalias wmSchedON
unalias wmSchedOFF
unset foamPV
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment