-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Firefox completions #9090
Add Firefox completions #9090
Conversation
c564347
to
9f0d57c
Compare
share/completions/firefox.fish
Outdated
complete -c firefox -l new-instance -d "Open new instance, not a new window in running instance" | ||
complete -c firefox -l safe-mode -d "Disables extensions and themes for this session" | ||
complete -c firefox -l allow-downgrade -d "Allows downgrading a profile" | ||
complete -c firefox -l MOZ_LOG -r -d "Treated as MOZ_LOG=<modules> environment variable, overrides it" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
since this never takes file arguments, we could suppress them with -f
6bfa43c
to
ec97fdf
Compare
share/completions/firefox.fish
Outdated
complete -c firefox -l private-window -r -d "Open <url> in a new private window" | ||
complete -c firefox -l preferences -d "Open Preferences dialog" | ||
complete -c firefox -l screenshot -d "Save screenshot to <path> or in working directory" | ||
complete -c firefox -f -l window-size -d "Width and optionally height of screenshot" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should have -r
(AKA --require-parameter
)
share/completions/firefox.fish
Outdated
complete -c firefox -f -l new-instance -d "Open new instance, not a new window in running instance" | ||
complete -c firefox -f -l safe-mode -d "Disables extensions and themes for this session" | ||
complete -c firefox -f -l allow-downgrade -d "Allows downgrading a profile" | ||
complete -c firefox -l MOZ_LOG -r -d "Treated as MOZ_LOG=<modules> environment variable, overrides it" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
small misunderstanding: I meant only the --MOZ_LOG should have -f
. Not the other flags like --new-instance
, they don't take any parameters anyway
I'll correct both and merge. Thanks for the contribution!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you.
ec97fdf
to
2a9d63c
Compare
Description
Add firefox completions
Fixes issue: None
TODOs: