From f047ef4ea2bc90a87531fbbc17d79f3eda9e7831 Mon Sep 17 00:00:00 2001 From: EmilySeville7cfg Date: Mon, 24 Jan 2022 15:42:54 +1000 Subject: [PATCH] Remove __fish_generate_password function --- share/completions/schtasks.fish | 10 ---------- share/functions/__fish_generate_password.fish | 4 ---- 2 files changed, 14 deletions(-) delete mode 100644 share/functions/__fish_generate_password.fish diff --git a/share/completions/schtasks.fish b/share/completions/schtasks.fish index 8dbdc636e..248c60baa 100644 --- a/share/completions/schtasks.fish +++ b/share/completions/schtasks.fish @@ -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 diff --git a/share/functions/__fish_generate_password.fish b/share/functions/__fish_generate_password.fish deleted file mode 100644 index f096e9e4a..000000000 --- a/share/functions/__fish_generate_password.fish +++ /dev/null @@ -1,4 +0,0 @@ -function __fish_generate_password --description 'Generate password' - date +%s | sha256sum | base64 | head --bytes 10 - echo -end \ No newline at end of file