about summary refs log tree commit diff
path: root/Functions/Zle/define-composed-chars
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2005-10-17 09:51:48 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2005-10-17 09:51:48 +0000
commit20d2f66849691c30040d4c3b2584aa77d66d2049 (patch)
treeef0b4536fd89773942144753cb869618c7b55a11 /Functions/Zle/define-composed-chars
parente95a5a116447db42790a4daebad80bd26d26f637 (diff)
downloadzsh-20d2f66849691c30040d4c3b2584aa77d66d2049.tar.gz
zsh-20d2f66849691c30040d4c3b2584aa77d66d2049.tar.xz
zsh-20d2f66849691c30040d4c3b2584aa77d66d2049.zip
unposted: a few more miscellaneous composable symbols
Diffstat (limited to 'Functions/Zle/define-composed-chars')
-rw-r--r--Functions/Zle/define-composed-chars38
1 files changed, 37 insertions, 1 deletions
diff --git a/Functions/Zle/define-composed-chars b/Functions/Zle/define-composed-chars
index 1a67add27..f6d47c53a 100644
--- a/Functions/Zle/define-composed-chars
+++ b/Functions/Zle/define-composed-chars
@@ -10,7 +10,7 @@ typeset -gA zsh_accented_chars
 
 # Save quite a lot of space by using short names internally.
 local -A z
-local a
+local a b
 
 # grave
 a=\!
@@ -249,6 +249,16 @@ z[$a]+=" Z 5e6"
 a=h
 z[$a]+=" S 5e9"
 
+# Card suits: here first character is the interesting one
+for a b in S 2660 H 2661 D 2662 C 2663; do
+  z[$a]+=" c $b"
+done
+
+# Music: ditto
+for a b in d 2669 8 266a 2 266b b 266d x 266e X 266f; do
+  z[$a]+=" M $b"
+done
+
 # Remaining characters are handled as separate pairs.
 # We need to remember that the assoc array is keyed by the second character.
 # Left square bracket
@@ -367,5 +377,31 @@ z[-]+=" / 2020"
 z[=]+=" / 2021"
 # per mille
 z[0]+=" % 2030"
+# For all, partial derivative, there exists, empty set
+z[A]+=" F 2200"
+z[P]+=" d 2202"
+z[E]+=" T 2203"
+z[0]+=" / 2205"
+# Increment, del (nabla), element of, contains, product, sum
+z[E]+=" D 2206"
+z[B]+=" N 2207"
+z[-]+=" ( 2208"
+a=\)
+z[$a]+=" - 220b"
+z[P]+=" * 220F"
+z[Z]+=" + 2211"
+# Minus, minus or plus, asterisk, ring, bullet
+z[2]+=" - 2212"
+z[+]+=" - 2213"
+z[-]+=" * 2217"
+z[b]+=" O 2218 S 2219"
+# square root, proportional to, infinity
+z[T]+=" R 221A"
+a=\(
+z[$a]+=" 0 221D"
+z[0]+=" 0 221E"
+# Female and male
+z[m]+=" F 2640"
+z[l]+=" M 2642"
 
 zsh_accented_chars=("${(kv)z[@]}")