mirror of
https://github.com/JanJastrow/.dotfiles.git
synced 2024-11-22 18:49:55 +01:00
Updated if function
This commit is contained in:
parent
51a1086726
commit
152060d30d
@ -10,7 +10,7 @@ touch ~/.dotfiles/zsh/device-specific
|
|||||||
sudo chsh -s $(which zsh) $USER
|
sudo chsh -s $(which zsh) $USER
|
||||||
|
|
||||||
# If private repo is available, add ssh config + hosts
|
# 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 ~/.dotfiles/ssh/settings" >> ~/.ssh/config
|
||||||
echo "Include ~/.jan/ssh_hosts" >> ~/.ssh/config
|
echo "Include ~/.jan/ssh_hosts" >> ~/.ssh/config
|
||||||
chmod 600 ~/.ssh/config
|
chmod 600 ~/.ssh/config
|
||||||
|
Loading…
Reference in New Issue
Block a user