ensure .ssh folder has correct permissions on creation
This commit is contained in:
parent
046f04ddf1
commit
dd0dfe6067
1 changed files with 3 additions and 5 deletions
8
init.sh
8
init.sh
|
@ -12,10 +12,11 @@ stow prezto
|
|||
if [ ! "~/.ssh" ]
|
||||
then
|
||||
mkdir ~/.ssh
|
||||
stow ssh
|
||||
fi
|
||||
stow ssh
|
||||
chmod 0700 ~/.ssh
|
||||
chmod -R 0600 ~/.ssh/*
|
||||
ln -s "$HOME/stevset/mc" ~/.config/mc
|
||||
cp "$HOME/stevset/mc" ~/.config/mc
|
||||
|
||||
#setup prezto
|
||||
echo "Initializing Prezto"
|
||||
|
@ -54,9 +55,6 @@ if [[ $answer = "Y" ]] || [[ $answer = "y" ]]; then
|
|||
git config --global user.email "$email"
|
||||
fi
|
||||
|
||||
echo "Initializing Submodules"
|
||||
git submodule init && git submodule update
|
||||
|
||||
echo "*******************************"
|
||||
echo "* Restart your terminal *"
|
||||
echo "*******************************"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue