Fixing confict between alias and function g
Refactorings and adding completion for dotfiles command