Updated if function

This commit is contained in:
Jan Jastrow 2022-02-13 01:12:33 +01:00
parent 51a1086726
commit 152060d30d
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ touch ~/.dotfiles/zsh/device-specific
sudo chsh -s $(which zsh) $USER
# If private repo is available, add ssh config + hosts
if [[ -d $HOME/.jan ]]; then
if [ -d $HOME/.jan ]; then
echo "Include ~/.dotfiles/ssh/settings" >> ~/.ssh/config
echo "Include ~/.jan/ssh_hosts" >> ~/.ssh/config
chmod 600 ~/.ssh/config