mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
CONFIG: unset tcsh completions when cleaninp up (issue #551)
This commit is contained in:
@ -196,6 +196,15 @@ unalias wmRefresh
|
|||||||
unalias foamVersion
|
unalias foamVersion
|
||||||
unalias foamPV
|
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)
|
# Intermediate variables (do as last for a clean exit code)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user