about summary refs log tree commit diff
path: root/configs/shared/zsh/functions.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'configs/shared/zsh/functions.zsh')
-rw-r--r--configs/shared/zsh/functions.zsh10
1 files changed, 10 insertions, 0 deletions
diff --git a/configs/shared/zsh/functions.zsh b/configs/shared/zsh/functions.zsh
index 3bf892355a92..4a0ee94b2926 100644
--- a/configs/shared/zsh/functions.zsh
+++ b/configs/shared/zsh/functions.zsh
@@ -303,6 +303,16 @@ test_unicode() {
   echo -e '\u26FD \u26FE \u26FF'
 }
 
+test_emojis() {
+  # Outputs a few emojis to see if your terminal supports colored or
+  # monochromatic emojis.
+  for n in {0..9}
+  do
+    echo -e -n "\U1F60$n"
+  done
+  echo # newline to clean output
+}
+
 path() {
   # Pretty-print the $PATH variable
   echo "$PATH" | tr : '\n'