Projects STRLCPY alacritty Commits 99836ac7
🤬
  • Update shell completions

    This fixes the shell completion by removing the flags removed from the
    CLI in 0768428 and adding the new options flag.
  • Loading...
  • Jason committed with Christian Duerr 3 years ago
    99836ac7
    1 parent 1f4a46b6
Revision indexing in progress... (symbol navigation in revisions will be accurate after indexed)
  • ■ ■ ■ ■ ■ ■
    CHANGELOG.md
    skipped 6 lines
    7 7   
    8 8  ## 0.7.2-rc1
    9 9   
     10 +### Packaging
     11 + 
     12 +- Updated shell completions
     13 + 
    10 14  ### Fixed
    11 15   
    12 16  - Crash due to assertion failure on 32-bit architectures
    skipped 845 lines
  • ■ ■ ■ ■ ■ ■
    extra/completions/_alacritty
    skipped 4 lines
    5 5  (( $#words > 2 )) && ign='!'
    6 6  _arguments \
    7 7   "$ign(-)"{-h,--help}"[print help information]" \
    8  - "(--no-live-config-reload)--live-config-reload[enable automatic config reloading]" \
    9  - "(--live-config-reload)--no-live-config-reload[disable automatic config reloading]" \
    10  - "(--persistent-logging)--persistent-logging[keep the log file after quitting Alacritty]" \
    11 8   "--print-events[print all events to stdout]" \
    12 9   '(-v)'{-q,-qq}"[reduce the level of verbosity (min is -qq)]" \
    13 10   "--ref-test[generate ref test]" \
    skipped 4 lines
    18 15   "--embed=[define the X11 window ID (as a decimal integer) to embed Alacritty within]:windowId" \
    19 16   "(-e --command)"{-e,--command}"[execute command (must be last arg)]:program: _command_names -e:*::program arguments: _normal" \
    20 17   "--config-file=[specify an alternative config file]:file:_files" \
    21  - "(-d --dimensions)"{-d,--dimensions}"[specify window dimensions]:columns: :lines" \
    22  - "--position[specify window position]:x position: :y position" \
    23  - "(-t --title)"{-t+,--title=}"[define the window title]:title" \
     18 + "*"{-o=,--option=}"[override config file options]:option" \
     19 + "(-t --title)"{-t=,--title=}"[define the window title]:title" \
    24 20   "--working-directory=[start shell in specified directory]:directory:_directories"
    25 21   
  • ■ ■ ■ ■ ■
    extra/completions/alacritty.bash
    skipped 10 lines
    11 11   cur="${COMP_WORDS[COMP_CWORD]}"
    12 12   prev="${COMP_WORDS[COMP_CWORD-1]}"
    13 13   prevprev="${COMP_WORDS[COMP_CWORD-2]}"
    14  - opts="-h --help -V --version --live-config-reload --no-live-config-reload --persistent-logging --print-events -q -qq -v -vv -vvv --ref-test --hold -e --command --config-file -d --dimensions --position -t --title --embed --class --working-directory"
     14 + opts="-h --help -V --version --print-events -q -qq -v -vv -vvv --ref-test --hold -e --command --config-file -o --option -t --title --embed --class --working-directory"
    15 15   
    16 16   # If `--command` or `-e` is used, stop completing
    17 17   for i in "${!COMP_WORDS[@]}"; do
    skipped 4 lines
    22 22   return 0
    23 23   fi
    24 24   done
    25  - 
    26  - # Make sure the Y dimension isn't completed
    27  - if [[ "${prevprev}" == "--dimensions" ]] || [[ "${prevprev}" == "-d" ]]; then
    28  - return 0
    29  - fi
    30 25   
    31 26   # Match the previous word
    32 27   case "${prev}" in
    skipped 26 lines
  • ■ ■ ■ ■ ■
    extra/completions/alacritty.fish
    skipped 9 lines
    10 10   
    11 11  # Config
    12 12  complete -c alacritty \
    13  - -l "live-config-reload" \
    14  - -d "Enable automatic config reloading"
    15  -complete -c alacritty \
    16  - -l "no-live-config-reload" \
    17  - -d "Disable automatic config reloading"
    18  -complete -c alacritty \
    19  - -l "persistent-logging" \
    20  - -d "Keep the log file after quitting Alacritty"
    21  -complete -c alacritty \
    22 13   -f \
    23 14   -l "config-file" \
    24 15   -d "Specify an alternative config file"
    skipped 15 lines
    40 31  complete -c alacritty \
    41 32   -l "hold" \
    42 33   -d "Remain open after child process exits"
     34 +complete -c alacritty \
     35 + -s "o" \
     36 + -l "option" \
     37 + -d "Override config file options"
    43 38   
    44 39  # Output
    45 40  complete \
    skipped 25 lines
    71 66   -c alacritty \
    72 67   -l "ref-test" \
    73 68   -d "Generates ref test"
    74  - 
    75  -complete \
    76  - -c alacritty \
    77  - -s "d" \
    78  - -l "dimensions" \
    79  - -d "Window dimensions <columns> <lines>"
    80  - 
    81  -complete \
    82  - -c alacritty \
    83  - -l "position" \
    84  - -d "Window position <x-pos> <y-pos>"
    85 69   
    86 70  complete \
    87 71   -c alacritty \
    skipped 4 lines
Please wait...
Page is in error, reload to recover