about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Unix/Command/_loadkeys10
2 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a239bf69a..62f9828bd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2001-05-02  Clint Adams  <clint@zsh.org>
 
+	* 14208: Completion/User/Command/_loadkeys: support Solaris
+	loadkeys.
+
 	* 14201: Completion/User/Command/_loadkeys: completion for
 	loadkeys.
 
diff --git a/Completion/Unix/Command/_loadkeys b/Completion/Unix/Command/_loadkeys
index f9908afc4..51e78d0c5 100644
--- a/Completion/Unix/Command/_loadkeys
+++ b/Completion/Unix/Command/_loadkeys
@@ -1,5 +1,8 @@
 #compdef loadkeys
 
+if [[ $OSTYPE == linux* ]]
+then
+
 _arguments \
 	'(--clearcompose)-c[clearcompose]' \
 	'(-c)--clearcompose' \
@@ -14,3 +17,10 @@ _arguments \
 	'(--verbose)-v[verbose]' \
 	'(-v)--verbose' \
 	':keymap:_files -W /usr/share/keymaps'
+
+elif [[ $OSTYPE == solaris* ]]
+then
+
+	_files -W /usr/share/lib/keytables
+
+fi