Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
502c9ceb
Commit
502c9ceb
authored
Mar 13, 2017
by
Henry Weller
Browse files
etc/bashrc: Updated to better support zsh
Resolves patch request
https://bugs.openfoam.org/view.php?id=2490
parent
47d72404
Changes
1
Hide whitespace changes
Inline
Side-by-side
etc/bashrc
View file @
502c9ceb
...
...
@@ -2,7 +2,7 @@
# ========= |
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
# \\ / O peration |
# \\ / A nd | Copyright (C) 2011-201
6
OpenFOAM Foundation
# \\ / A nd | Copyright (C) 2011-201
7
OpenFOAM Foundation
# \\/ M anipulation |
#------------------------------------------------------------------------------
# License
...
...
@@ -42,8 +42,8 @@ export WM_PROJECT_VERSION=dev
#
# Please set to the appropriate path if the default is not correct.
#
[
$BASH_SOURCE
]
&&
\
export
FOAM_INST_DIR
=
$(
cd
$(
dirname
$BASH_SOURCE
)
/../..
&&
pwd
-P
)
||
\
[
$
{
BASH_SOURCE
:-
$0
}
]
&&
\
export
FOAM_INST_DIR
=
$(
cd
$(
dirname
$
{
BASH_SOURCE
:-
$0
}
)
/../..
&&
pwd
-P
)
||
\
export
FOAM_INST_DIR
=
$HOME
/
$WM_PROJECT
# export FOAM_INST_DIR=~$WM_PROJECT
# export FOAM_INST_DIR=/opt/$WM_PROJECT
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment