diff --git a/.config/fish/functions/ssh-import.fish b/.config/fish/functions/ssh-import.fish index 0c27647..2d669f2 100644 --- a/.config/fish/functions/ssh-import.fish +++ b/.config/fish/functions/ssh-import.fish @@ -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