From fc6b87a929d33a4aa87a5bb63e184d526fc9c2b2 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Sun, 8 Oct 2023 21:13:56 +0200 Subject: [PATCH] padding --- .config/fish/functions/ssh-import.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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