Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openfoam
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Development
openfoam
Commits
502c9ceb
Commit
502c9ceb
authored
8 years ago
by
Henry Weller
Browse files
Options
Downloads
Patches
Plain Diff
etc/bashrc: Updated to better support zsh
Resolves patch request
https://bugs.openfoam.org/view.php?id=2490
parent
47d72404
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
etc/bashrc
+3
-3
3 additions, 3 deletions
etc/bashrc
with
3 additions
and
3 deletions
etc/bashrc
+
3
−
3
View file @
502c9ceb
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
# ========= |
# ========= |
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
# \\ / O peration |
# \\ / O peration |
# \\ / A nd | Copyright (C) 2011-201
6
OpenFOAM Foundation
# \\ / A nd | Copyright (C) 2011-201
7
OpenFOAM Foundation
# \\/ M anipulation |
# \\/ M anipulation |
#------------------------------------------------------------------------------
#------------------------------------------------------------------------------
# License
# License
...
@@ -42,8 +42,8 @@ export WM_PROJECT_VERSION=dev
...
@@ -42,8 +42,8 @@ export WM_PROJECT_VERSION=dev
#
#
# Please set to the appropriate path if the default is not correct.
# Please set to the appropriate path if the default is not correct.
#
#
[
$BASH_SOURCE
]
&&
\
[
$
{
BASH_SOURCE
:-
$0
}
]
&&
\
export
FOAM_INST_DIR
=
$(
cd
$(
dirname
$BASH_SOURCE
)
/../..
&&
pwd
-P
)
||
\
export
FOAM_INST_DIR
=
$(
cd
$(
dirname
$
{
BASH_SOURCE
:-
$0
}
)
/../..
&&
pwd
-P
)
||
\
export
FOAM_INST_DIR
=
$HOME
/
$WM_PROJECT
export
FOAM_INST_DIR
=
$HOME
/
$WM_PROJECT
# export FOAM_INST_DIR=~$WM_PROJECT
# export FOAM_INST_DIR=~$WM_PROJECT
# export FOAM_INST_DIR=/opt/$WM_PROJECT
# export FOAM_INST_DIR=/opt/$WM_PROJECT
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment