minor
This commit is contained in:
parent
da443aaa8f
commit
af2feff68a
@ -13,7 +13,7 @@ update_file $scriptdir/files/ys-simple.zsh-theme ~/.oh-my-zsh/themes/ys-simple.z
|
|||||||
configure_ssh() {
|
configure_ssh() {
|
||||||
[ -f ~/.ssh/authorized_keys ] && return
|
[ -f ~/.ssh/authorized_keys ] && return
|
||||||
|
|
||||||
if confirm_action "要配置 authorized_keys 吗?" "Y"; then
|
if confirm_action "要配置 authorized_keys 吗?" "N"; then
|
||||||
mkdir -p ~/.ssh
|
mkdir -p ~/.ssh
|
||||||
cp $scriptdir/files/authorized_keys ~/.ssh/authorized_keys
|
cp $scriptdir/files/authorized_keys ~/.ssh/authorized_keys
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user