mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-26 02:13:38 +08:00
completions/adduser: Fix quoting
This used single-quotes inside single-quotes, so it ended up running a glob. Fixes #8896.
This commit is contained in:
parent
91760b0771
commit
be828b50e3
|
@ -15,7 +15,7 @@ complete -c adduser -l gid -d 'When creating a group, force the groupid to be th
|
|||
complete -c adduser -l group -d 'Create a group'
|
||||
complete -c adduser -l help -d 'Display brief instructions'
|
||||
complete -c adduser -l home -d 'Use specified directory as the user\'s home directory' -x -a '(__fish_complete_directories)'
|
||||
complete -c adduser -l shell -d 'Use shell as the user\'s login shell, rather than the default' -x -a '(string match --regex '^[^#].*' < /etc/shells)'
|
||||
complete -c adduser -l shell -d 'Use shell as the user\'s login shell, rather than the default' -x -a "(string match --regex '^[^#].*' < /etc/shells)"
|
||||
complete -c adduser -l ingroup -d 'Add the new user to GROUP instead of a usergroup or the default group' -x -a '(cut -d : -f 1 /etc/group)'
|
||||
complete -c adduser -l no-create-home -d 'Do not create the home directory'
|
||||
complete -c adduser -l quiet -d 'Suppress informational messages, only show warnings and errors'
|
||||
|
|
Loading…
Reference in New Issue
Block a user