aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2021-03-21 19:03:03 -0500
committerToby Vincent <tobyv13@gmail.com>2021-03-21 19:03:03 -0500
commitd762fa216f12a573b55c2ad02feb3a49235326e8 (patch)
tree94c3bf0d88a9533d4b507ddafd0d207a2e7a944e
parentec5dc4d93af9c57304ecc2c5468ad10225707d71 (diff)
feat: updated ssh config to clone recursivly
-rwxr-xr-xssh/config8
1 files changed, 4 insertions, 4 deletions
diff --git a/ssh/config b/ssh/config
index 3704f58..917c51a 100755
--- a/ssh/config
+++ b/ssh/config
@@ -10,25 +10,25 @@ Host heimdall
User pi
HostName heimdall
PermitLocalCommand yes
- LocalCommand ssh -o PermitLocalCommand=no %n "which git >/dev/null && ([[ -d ~/dotfiles ]] && (echo "Updating dotfiles on %h ..." && cd ~/dotfiles && git pull -q && ./install >/dev/null) || (echo "Installing dotfiles on %h ..." && git clone -q https://github.com/tobyvin/dotfiles && ./dotfiles/install >/dev/null))"
+ LocalCommand ssh -o PermitLocalCommand=no %n "which git >/dev/null && ([[ -d ~/dotfiles ]] && (echo "Updating dotfiles on %h ..." && cd ~/dotfiles && git pull -q && ./install >/dev/null) || (echo "Installing dotfiles on %h ..." && git clone -q --recurse-submodules https://github.com/tobyvin/dotfiles && ./dotfiles/install >/dev/null))"
Host loki
User pi
HostName loki.asgard
PermitLocalCommand yes
- LocalCommand ssh -o PermitLocalCommand=no %n "which git >/dev/null && ([[ -d ~/dotfiles ]] && (echo "Updating dotfiles on %h ..." && cd ~/dotfiles && git pull -q && ./install >/dev/null) || (echo "Installing dotfiles on %h ..." && git clone -q https://github.com/tobyvin/dotfiles && ./dotfiles/install >/dev/null))"
+ LocalCommand ssh -o PermitLocalCommand=no %n "which git >/dev/null && ([[ -d ~/dotfiles ]] && (echo "Updating dotfiles on %h ..." && cd ~/dotfiles && git pull -q && ./install >/dev/null) || (echo "Installing dotfiles on %h ..." && git clone -q --recurse-submodules https://github.com/tobyvin/dotfiles && ./dotfiles/install >/dev/null))"
Host odin
User tobyv
HostName odin.asgard
PermitLocalCommand yes
- LocalCommand ssh -o PermitLocalCommand=no %n "which git >/dev/null && ([[ -d ~/dotfiles ]] && (echo "Updating dotfiles on %h ..." && cd ~/dotfiles && git pull -q && ./install >/dev/null) || (echo "Installing dotfiles on %h ..." && git clone -q https://github.com/tobyvin/dotfiles && ./dotfiles/install >/dev/null))"
+ LocalCommand ssh -o PermitLocalCommand=no %n "which git >/dev/null && ([[ -d ~/dotfiles ]] && (echo "Updating dotfiles on %h ..." && cd ~/dotfiles && git pull -q && ./install >/dev/null) || (echo "Installing dotfiles on %h ..." && git clone -q --recurse-submodules https://github.com/tobyvin/dotfiles && ./dotfiles/install >/dev/null))"
Host thor
User tobyv
HostName thor.asgard
PermitLocalCommand yes
- LocalCommand ssh -o PermitLocalCommand=no %n "which git >/dev/null && ([[ -d ~/dotfiles ]] && (echo "Updating dotfiles on %h ..." && cd ~/dotfiles && git pull -q && ./install >/dev/null) || (echo "Installing dotfiles on %h ..." && git clone -q https://github.com/tobyvin/dotfiles && ./dotfiles/install >/dev/null))"
+ LocalCommand ssh -o PermitLocalCommand=no %n "which git >/dev/null && ([[ -d ~/dotfiles ]] && (echo "Updating dotfiles on %h ..." && cd ~/dotfiles && git pull -q && ./install >/dev/null) || (echo "Installing dotfiles on %h ..." && git clone -q --recurse-submodules https://github.com/tobyvin/dotfiles && ./dotfiles/install >/dev/null))"
Host mjolnir
User u0_a382