diff --git a/src/zsh-simple-abbreviations b/src/zsh-simple-abbreviations index 53426e7..a8f7de9 100644 --- a/src/zsh-simple-abbreviations +++ b/src/zsh-simple-abbreviations @@ -1,6 +1,5 @@ #!/usr/bin/env zsh -VERSION='0.3.0' KEY_REGEX="^[[:alnum:]]+$" __zsh_simple_abbreviations::expand() { @@ -58,7 +57,6 @@ case $1 in fi ;; - --list) if [[ $# -ne 1 ]]; then echo "zsh_simple_abbreviations list sub-command takes no other arguments." @@ -70,16 +68,6 @@ case $1 in done ;; - - --version) - if [[ $# -ne 1 ]]; then - echo "zsh_simple_abbreviations version sub-command takes no other arguments." - return 1 - fi - - echo "${VERSION}" - ;; - *) echo "zsh_simple_abbreviations unrecognised sub-command." return 1