Make .zprofile executable.

This commit is contained in:
Cyteen May 2020-02-25 18:19:48 +00:00
parent cf05b3fc56
commit 55c18e834c
1 changed files with 3 additions and 1 deletions

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash
DEST=/etc/skel
cat > ${DEST}/.zprofile <<EOF
cat > ${DEST}/.zprofile <<'EOF'
if [ -f ${HOME}/.ssh/id_rsa.pub ]; then
exit 0
@ -11,6 +11,8 @@ else
fi
EOF
chmod +x ${DEST}/.zprofile
# System keys
ssh-keygen -A