etc/config.sh/aliases: For backward-compatibility unalias wmRefresh if it is defined as an alias
This commit is contained in:
parent
26057f8be6
commit
d251485534
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue