Fix compinit secuirty issues when sudoing