1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-18 13:55:23 -05:00
alacritty/alacritty-completions.fish
Christian Dürr cb4d2c0a3b Add option for keeping log files
Since it's not unusual to spawn a lot of different terminal emulators
without restarting, Alacritty can create a ton of different log files.

To combat this problem, logfiles are now removed by default after
Alacritty has been closed. If the user wants to persist the log of a
single session, the `--persistent_logging` option can be used. For
persisting all log files, the `persistent_logging` option can be set in
the configuration file
2018-11-16 11:13:38 +01:00

75 lines
1.5 KiB
Fish

# Meta
complete -c alacritty \
-s "v" \
-l "version" \
-d "Prints version information"
complete -c alacritty \
-s "h" \
-l "help" \
-d "Prints help information"
# Config
complete -c alacritty \
-l "live-config-reload" \
-d "Enable automatic config reloading"
complete -c alacritty \
-l "no-live-config-reload" \
-d "Disable automatic config reloading"
complete -c alacritty \
-l "persistent-logging" \
-d "Keep the log file after quitting Alacritty"
complete -c alacritty \
-f \
-l "config-file" \
-d "Specify an alternative config file"
complete -c alacritty \
-l "title" \
-d "Defines the window title"
complete -c alacritty \
-x \
-a '(__fish_complete_directories (commandline -ct))' \
-l "working-directory" \
-d "Start shell in specified directory"
# Output
complete \
-c alacritty \
-l "print-events" \
-d "Print all events to stdout"
complete \
-c alacritty \
-s "q" \
-d "Reduces the level of verbosity (min is -qq)"
complete \
-c alacritty \
-s "qq" \
-d "Reduces the level of verbosity"
complete \
-c alacritty \
-s "v" \
-d "Increases the level of verbosity"
complete \
-c alacritty \
-s "vv" \
-d "Increases the level of verbosity"
complete \
-c alacritty \
-s "vvv" \
-d "Increases the level of verbosity"
complete \
-c alacritty \
-l "ref-test" \
-d "Generates ref test"
complete \
-c alacritty \
-s "d" \
-l "dimensions" \
-d "Window dimensions <columns> <lines>"
complete \
-c alacritty \
-s "e" \
-l "command" \
-d "Execute command (must be last arg)"