diff options
author | Toby Vincent <tobyv13@gmail.com> | 2021-11-08 16:42:12 -0600 |
---|---|---|
committer | Toby Vincent <tobyv13@gmail.com> | 2021-11-08 16:42:12 -0600 |
commit | 4cffe4db58ccdc08eeadbff0cc123caa010cd710 (patch) | |
tree | 7486731c97b11d04b665bbc31266160169ddba33 /cheat.sh/shell/_cht | |
parent | ddfc36b56f13024c59823a0f491d8b75e34d3fb2 (diff) |
revert: removed unused configs; wrote new install script
Diffstat (limited to 'cheat.sh/shell/_cht')
-rw-r--r-- | cheat.sh/shell/_cht | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/cheat.sh/shell/_cht b/cheat.sh/shell/_cht deleted file mode 100644 index e1a4230..0000000 --- a/cheat.sh/shell/_cht +++ /dev/null @@ -1,21 +0,0 @@ -#compdef cht.sh - -__CHTSH_LANGS=($(curl -s cheat.sh/:list)) -_arguments -C \ - '--help[show this help message and exit]: :->noargs' \ - '--shell[enter shell repl]: :->noargs' \ - '1:Cheat Sheet:->lang' \ - '*::: :->noargs' && return 0 - -if [[ CURRENT -ge 1 ]]; then - case $state in - noargs) - _message "nothing to complete";; - lang) - compadd -X "Cheat Sheets" ${__CHTSH_LANGS[@]};; - *) - _message "Unknown state, error in autocomplete";; - esac - - return -fi |