diff options
author | Ben Hilburn <bhilburn@gmail.com> | 2017-03-08 23:01:53 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-08 23:01:53 +0300 |
commit | 622c04eee3452d753024a488ed4c1b3539e8389f (patch) | |
tree | da9f4c1082d329eb186b562726f20b79b802ec75 /powerlevel9k.zsh-theme | |
parent | ecd180a285ab5c594dd143674b2c49baf10002da (diff) | |
parent | 136a5217e3e3edda968ca191777ffb0408fffa10 (diff) |
Merge branch 'next' into truncate_composer_json
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rwxr-xr-x | powerlevel9k.zsh-theme | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme index b585911f..f8367e85 100755 --- a/powerlevel9k.zsh-theme +++ b/powerlevel9k.zsh-theme @@ -664,7 +664,7 @@ prompt_dir() { break; fi done - + local packageName=$(jq '.name' ${pkgFile} 2> /dev/null \ || node -e 'console.log(require(process.argv[1]).name);' ${pkgFile} 2>/dev/null \ || cat "${pkgFile}" 2> /dev/null | grep -m 1 "\"name\"" | awk -F ':' '{print $2}' | awk -F '"' '{print $2}' 2>/dev/null \ |