Put completion initialization at the top

This is necessary to enable setting completion stuff in library
scripts.
Merge branch 'run-compinit-first' into fix-history-alias-advanced
Use `fc' completion for fn_history and history alias

Needs to have compinit loaded before lib/ files (check out
branch `run-compinit-first')
Merge branch 'fix-history-alias-advanced' into dev