about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--configs/shared/misc/.local/share/fonts/NotoColorEmoji.ttfbin0 -> 7297112 bytes
-rw-r--r--configs/shared/zsh/functions.zsh10
-rw-r--r--configs/shared/zsh/variables.zsh9
3 files changed, 19 insertions, 0 deletions
diff --git a/configs/shared/misc/.local/share/fonts/NotoColorEmoji.ttf b/configs/shared/misc/.local/share/fonts/NotoColorEmoji.ttf
new file mode 100644
index 000000000000..69cf21a1a9bf
--- /dev/null
+++ b/configs/shared/misc/.local/share/fonts/NotoColorEmoji.ttf
Binary files differdiff --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'
diff --git a/configs/shared/zsh/variables.zsh b/configs/shared/zsh/variables.zsh
index b45ea9eae1c0..129b62631d3a 100644
--- a/configs/shared/zsh/variables.zsh
+++ b/configs/shared/zsh/variables.zsh
@@ -40,6 +40,15 @@ bright_magenta='\u001b[35;1m'
 bright_cyan='\u001b[36;1m'
 bright_white='\u001b[37;1m'
 
+# some of my favorite emojis as unicode
+facepalm='\U1F926'
+eyeroll='\U1F644'
+sheesh='\U1F62C'
+see_no_evil='\U1F648'
+blush='\U1F60A'
+wink='\U1F609'
+laugh='\U1F923'
+
 # commonly used config files
 v="$HOME/.config/nvim/init.vim"
 e="$HOME/.emacs.d/init.el"