diff options
author | Kirill Chibisov <wchibisovkirill@gmail.com> | 2019-07-08 18:19:42 +0300 |
---|---|---|
committer | Christian Duerr <chrisduerr@users.noreply.github.com> | 2019-07-08 15:19:42 +0000 |
commit | 7331e89122c464e7b1a73b2e7b20399f832a5913 (patch) | |
tree | de8388a99a0ef340cf2749e22569c80e1816ac7d /extra/completions/alacritty.bash | |
parent | 165246f50aead3a4311df6304830a6e24ef522c8 (diff) | |
download | alacritty-7331e89122c464e7b1a73b2e7b20399f832a5913.tar.gz alacritty-7331e89122c464e7b1a73b2e7b20399f832a5913.zip |
Add class and short title completions
Fixes #2612.
Diffstat (limited to 'extra/completions/alacritty.bash')
-rw-r--r-- | extra/completions/alacritty.bash | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extra/completions/alacritty.bash b/extra/completions/alacritty.bash index 086e3cdc..fc39eb17 100644 --- a/extra/completions/alacritty.bash +++ b/extra/completions/alacritty.bash @@ -11,7 +11,7 @@ _alacritty() cur="${COMP_WORDS[COMP_CWORD]}" prev="${COMP_WORDS[COMP_CWORD-1]}" prevprev="${COMP_WORDS[COMP_CWORD-2]}" - opts="-h --help -V --version --live-config-reload --no-live-config-reload --persistent-logging --print-events -q -qq -v -vv -vvv --ref-test -e --command --config-file -d --dimensions --position -t --title --working-directory" + opts="-h --help -V --version --live-config-reload --no-live-config-reload --persistent-logging --print-events -q -qq -v -vv -vvv --ref-test -e --command --config-file -d --dimensions --position -t --title --class --working-directory" # If `--command` or `-e` is used, stop completing for i in "${!COMP_WORDS[@]}"; do @@ -40,7 +40,7 @@ _alacritty() compopt -o filenames COMPREPLY=( $(compgen -f -- "${cur}") ) return 0;; - --dimensions | -d | --title | -t) + --dimensions | -d | --class | --title | -t) # Don't complete here return 0;; --working-directory) |