Commit b7317e09 authored by Mark OLESEN's avatar Mark OLESEN
Browse files

CONFIG: unset tcsh completions when cleaninp up (issue #551)

parent 78da7dbd
......@@ -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)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment