mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-04-19 23:21:15 -03:00
add nvram completion
This commit is contained in:
committed by
Aaron Gyes
parent
034aaaa62b
commit
0c4ede5627
12
share/completions/nvram.fish
Normal file
12
share/completions/nvram.fish
Normal file
@@ -0,0 +1,12 @@
|
||||
# completion for nvram (macOS)
|
||||
|
||||
function __fish_nvram_variables
|
||||
command nvram -p
|
||||
end
|
||||
|
||||
complete -c nvram -s x -f -d 'Use XML format for reading and writing variables'
|
||||
complete -c nvram -s p -f -d 'Print all of the firmware variables'
|
||||
complete -c nvram -s f -r -d 'Set firmware variables from a text file'
|
||||
complete -c nvram -s d -x -a '(__fish_nvram_variables)' -d 'Deletes the named firmware variable'
|
||||
complete -c nvram -s c -f -d 'Delete all of the firmware variable'
|
||||
complete -c nvram -x -a '(__fish_nvram_variables)'
|
||||
Reference in New Issue
Block a user