From af2feff68aae372c9cd28ce3857a9859a4937340 Mon Sep 17 00:00:00 2001 From: Konano Date: Wed, 25 Oct 2023 14:37:56 +0800 Subject: [PATCH] minor --- init_user.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init_user.sh b/init_user.sh index 8ce2234..735ac14 100755 --- a/init_user.sh +++ b/init_user.sh @@ -13,7 +13,7 @@ update_file $scriptdir/files/ys-simple.zsh-theme ~/.oh-my-zsh/themes/ys-simple.z configure_ssh() { [ -f ~/.ssh/authorized_keys ] && return - if confirm_action "要配置 authorized_keys 吗?" "Y"; then + if confirm_action "要配置 authorized_keys 吗?" "N"; then mkdir -p ~/.ssh cp $scriptdir/files/authorized_keys ~/.ssh/authorized_keys fi