Parameter substitution instead of dirname/basename
Parameter substitution instead of dirname/basename

Replaced external calls to `dirname` and `basename` with paramater
substitution.

dritter/powerlevel9k,dritter/powerlevel9k,bhilburn/powerlevel9k,bhilburn/powerlevel9k