Skip to content
GitLab
Menu
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
b7317e09
Commit
b7317e09
authored
Aug 03, 2017
by
Mark OLESEN
Browse files
CONFIG: unset tcsh completions when cleaninp up (issue
#551
)
parent
78da7dbd
Changes
1
Hide whitespace changes
Inline
Side-by-side
etc/config.csh/unset
View file @
b7317e09
...
...
@@ -196,6 +196,15 @@ unalias wmRefresh
unalias
foamVersion
unalias
foamPV
# Cleanup completions, which look like this:
# complete blockMesh 'p,*,`bash $WM_PROJECT_DIR/etc/ ...
if
(
$?
prompt
&&
$?
tcsh
)
then
# Interactive tcsh only
foreach cleaned
(
`
complete
|
sed
-n
-e
'/WM_PROJECT/s/\t.*$//p'
`
)
uncomplete
$cleaned
end
endif
#------------------------------------------------------------------------------
# Intermediate variables (do as last for a clean exit code)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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