mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-26 10:43:47 +08:00
Remove __fish_generate_password function
This commit is contained in:
parent
72ce745f60
commit
f047ef4ea2
|
@ -13,11 +13,6 @@ function __schtasks_change_generate_args --argument-names previous_token
|
|||
return
|
||||
end
|
||||
|
||||
if test "$previous_token" = '/rp'
|
||||
__fish_generate_password
|
||||
return
|
||||
end
|
||||
|
||||
if __fish_seen_argument --windows 's'
|
||||
echo -e '/u\tRun this command with the permissions of the specified user account'
|
||||
end
|
||||
|
@ -70,11 +65,6 @@ ONIDLE\tSpecify that the task runs whenever the system is idle for a specified p
|
|||
return
|
||||
end
|
||||
|
||||
if test "$previous_token" = '/rp'
|
||||
__fish_generate_password
|
||||
return
|
||||
end
|
||||
|
||||
if test "$previous_token" = '/mo'
|
||||
echo -e 'MINUTE\tSpecify that the task runs every n minutes
|
||||
HOURLY\tSpecify that the task runs every n hours
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
function __fish_generate_password --description 'Generate password'
|
||||
date +%s | sha256sum | base64 | head --bytes 10
|
||||
echo
|
||||
end
|
Loading…
Reference in New Issue
Block a user