Make .zprofile executable.
This commit is contained in:
parent
cf05b3fc56
commit
55c18e834c
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue