diff options
author | Clint Adams <clint@users.sourceforge.net> | 2001-05-02 16:04:41 +0000 |
---|---|---|
committer | Clint Adams <clint@users.sourceforge.net> | 2001-05-02 16:04:41 +0000 |
commit | 64b046ef492e8cb452ed02af637b9979c26ffe83 (patch) | |
tree | aab921ae74b393eaf06a6350a38db882449bbad3 | |
parent | e8f602b4e13b09f728f267ac52aa4296787870c0 (diff) | |
download | zsh-64b046ef492e8cb452ed02af637b9979c26ffe83.tar.gz zsh-64b046ef492e8cb452ed02af637b9979c26ffe83.tar.xz zsh-64b046ef492e8cb452ed02af637b9979c26ffe83.zip |
14208: Solaris loadkeys
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | Completion/Unix/Command/_loadkeys | 10 |
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 |