This commit is contained in:
Mylloon 2023-10-08 21:13:56 +02:00
parent d8e2d6cd2f
commit fc6b87a929
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -44,7 +44,7 @@ function ssh-import
unzip -uo "$archive_file" -d $ssh_directory
# Ask user if he want to delete the archive now that it has been imported
while read --nchars 1 -l response --prompt-str="Wanna delete the archive? (y/n)"
while read --nchars 1 -l response --prompt-str="Wanna delete the archive? (y/n) "
or return 1 # if the read was aborted with ctrl-c/ctrl-d
switch $response
case y Y