Skip to content
Snippets Groups Projects
Commit d2514855 authored by Henry Weller's avatar Henry Weller
Browse files

etc/config.sh/aliases: For backward-compatibility unalias wmRefresh if it is defined as an alias

parent 26057f8b
Branches
Tags
1 merge request!60Merge foundation
......@@ -69,7 +69,8 @@ alias run='cd $FOAM_RUN'
# Refresh the environment
# ~~~~~~~~~~~~~~~~~~~~~~~
unset wmRefresh
# For backward-compatibility unalias wmRefresh if it is defined as an alias
[ "$(type -t wmRefresh)" = "alias" ] && unalias wmRefresh || unset wmRefresh
wmRefresh()
{
wmProjectDir=$WM_PROJECT_DIR
......
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