Load compinit before running the library scripts

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

Needs to have compinit loaded before lib/ files (check out
branch `run-compinit-first')