summaryrefslogtreecommitdiff
path: root/powerlevel9k.zsh-theme
diff options
context:
space:
mode:
authorDominik Ritter <dritter03@googlemail.com>2015-08-29 15:36:33 +0300
committerDominik Ritter <dritter03@googlemail.com>2015-08-29 15:36:33 +0300
commitd8c55a259211cbf325153a1eaed0575d27575c17 (patch)
treefc420c1903bc64e90e8deb9e96c69e5306dd0bc3 /powerlevel9k.zsh-theme
parentbf9ef6acf179015e422cc29a1d85799e48e1c93d (diff)
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 56ecb611..ab532cf7 100644
--- a/powerlevel9k.zsh-theme
+++ b/powerlevel9k.zsh-theme
@@ -59,6 +59,12 @@ function print_icon() {
fi
}
+get_icon_names() {
+ for key in "${(@k)icons}"; do
+ echo "POWERLEVEL9K_$key: ${icons[$key]}"
+ done
+}
+
################################################################
# Icons
################################################################