Add functions and completions for common directories