aboutsummaryrefslogtreecommitdiff
path: root/powerlevel9k.zsh-theme
diff options
context:
space:
mode:
authorBen Hilburn <bhilburn@gmail.com>2015-09-06 01:04:20 +0300
committerBen Hilburn <bhilburn@gmail.com>2015-09-06 01:04:20 +0300
commitfd191a5894b2c9dc1b6d444194651cd7591265a6 (patch)
tree4f429918a1fa08dffcb20593532472b976edb9e1 /powerlevel9k.zsh-theme
parenta3b61e92fb8188b03b851183eaab2ef8688d81ec (diff)
parent88abe431eceb859debc49d3b752d344dc503d400 (diff)
Merge pull request #80 from dritter/dritter/icon_customization_documentation
Added documentation and a little helper function for icon customization.
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rw-r--r--powerlevel9k.zsh-theme6
1 files changed, 6 insertions, 0 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme
index b24e8abb..50911e27 100644
--- a/powerlevel9k.zsh-theme
+++ b/powerlevel9k.zsh-theme
@@ -105,6 +105,12 @@ function getRelevantItem() {
done
}
+get_icon_names() {
+ for key in "${(@k)icons}"; do
+ echo "POWERLEVEL9K_$key: ${icons[$key]}"
+ done
+}
+
################################################################
# Icons
################################################################