From c6387a96f2dbe84324c579dc92adbfe55deffd10 Mon Sep 17 00:00:00 2001 From: Trevor Merritt Date: Sat, 24 Jul 2021 13:24:19 -0400 Subject: [PATCH] Initial commit --- .gitmodules | 4 ++ bash_logout | 7 ++++ dotbot | 1 + gitconfig | 3 ++ install | 15 ++++++++ install.conf.yaml | 10 +++++ ssh/config | 93 +++++++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 133 insertions(+) create mode 100644 .gitmodules create mode 100644 bash_logout create mode 160000 dotbot create mode 100644 gitconfig create mode 100755 install create mode 100644 install.conf.yaml create mode 100644 ssh/config diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..1af14d0 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,4 @@ +[submodule "dotbot"] + path = dotbot + url = https://github.com/anishathalye/dotbot + ignore = dirty diff --git a/bash_logout b/bash_logout new file mode 100644 index 0000000..de4f5f7 --- /dev/null +++ b/bash_logout @@ -0,0 +1,7 @@ +# ~/.bash_logout: executed by bash(1) when login shell exits. + +# when leaving the console clear the screen to increase privacy + +if [ "$SHLVL" = 1 ]; then + [ -x /usr/bin/clear_console ] && /usr/bin/clear_console -q +fi diff --git a/dotbot b/dotbot new file mode 160000 index 0000000..076939d --- /dev/null +++ b/dotbot @@ -0,0 +1 @@ +Subproject commit 076939da8ee683d3cba791914c227f29c21fe042 diff --git a/gitconfig b/gitconfig new file mode 100644 index 0000000..b1e0fb9 --- /dev/null +++ b/gitconfig @@ -0,0 +1,3 @@ +[user] + email = trevor.merritt@gmail.com + name = Trevor Merritt diff --git a/install b/install new file mode 100755 index 0000000..5a7e72c --- /dev/null +++ b/install @@ -0,0 +1,15 @@ +#!/usr/bin/env bash + +set -e + +CONFIG="install.conf.yaml" +DOTBOT_DIR="dotbot" + +DOTBOT_BIN="bin/dotbot" +BASEDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" + +cd "${BASEDIR}" +git -C "${DOTBOT_DIR}" submodule sync --quiet --recursive +git submodule update --init --recursive "${DOTBOT_DIR}" + +"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" -c "${CONFIG}" "${@}" diff --git a/install.conf.yaml b/install.conf.yaml new file mode 100644 index 0000000..c9629d2 --- /dev/null +++ b/install.conf.yaml @@ -0,0 +1,10 @@ +- clean: ['~'] + +- link: + ~/.bash_logout: bash_logout + ~/.gitconfig: gitconfig + ~/.ssh/config: + path: ssh/config + create: true + + diff --git a/ssh/config b/ssh/config new file mode 100644 index 0000000..81b1bdd --- /dev/null +++ b/ssh/config @@ -0,0 +1,93 @@ +Host 192.168.0.141 + KexAlgorithms diffie-hellman-group-exchange-sha1 +Host localdev + HostName 192.168.122.246 +Host config.ptbo.achi.tech + HostName config.ptbo.achi.tech +Host 172.24.4.126 + HostName 172.24.4.126 + User root +Host 172.24.4.160 + HostName 172.24.4.160 + User tmerritt +Host 172.24.4.124 + HostName 172.24.4.124 +Host git.pyrocode.xyz + Port 2222 + IdentitiesOnly yes + IdentityFile ~/.ssh/id_rsa +# entry generated by okteto +Host phoneorders.okteto + ForwardAgent yes + HostName localhost + Port 36087 + StrictHostKeyChecking no + UserKnownHostsFile /dev/null + IdentityFile "/home/tmerritt/.okteto/id_rsa_okteto" +# entry generated by okteto +Host orchard.okteto + ForwardAgent yes + HostName localhost + Port 40245 + StrictHostKeyChecking no + UserKnownHostsFile /dev/null + IdentityFile "/home/tmerritt/.okteto/id_rsa_okteto" +# entry generated by okteto +Host orchardui.okteto + ForwardAgent yes + HostName localhost + Port 43873 + StrictHostKeyChecking no + UserKnownHostsFile /dev/null + IdentityFile "/home/tmerritt/.okteto/id_rsa_okteto" +# entry generated by okteto +Host lilith-server.okteto + ForwardAgent yes + HostName localhost + Port 2222 + StrictHostKeyChecking no + UserKnownHostsFile /dev/null + IdentityFile "/home/tmerritt/.okteto/id_rsa_okteto" +# entry generated by okteto +Host lilith-server-dev.okteto + ForwardAgent yes + HostName localhost + Port 33583 + StrictHostKeyChecking no + UserKnownHostsFile /dev/null + IdentityFile "/home/tmerritt/.okteto/id_rsa_okteto" +# entry generated by okteto +Host devserverlilith.okteto + ForwardAgent yes + HostName localhost + Port 46367 + StrictHostKeyChecking no + UserKnownHostsFile /dev/null + IdentityFile "/home/tmerritt/.okteto/id_rsa_okteto" +# entry generated by okteto +Host dev-server-lilith.okteto + ForwardAgent yes + HostName localhost + Port 36799 + StrictHostKeyChecking no + UserKnownHostsFile /dev/null + IdentityFile "/home/tmerritt/.okteto/id_rsa_okteto" +Host 172.24.4.115 + HostName 172.24.4.115 + User tmerritt +Host 172.24.4.225 + HostName 172.24.4.225 +Host 172.24.4.222 + HostName 172.24.4.222 +Host 10.1.24.115 + HostName 10.1.24.115 + User tmerritt +# entry generated by okteto +Host devlilith.okteto + ForwardAgent yes + PubkeyAcceptedKeyTypes +ssh-rsa + HostName localhost + Port 43405 + StrictHostKeyChecking no + UserKnownHostsFile /dev/null + IdentityFile "/home/tmerritt/.okteto/id_rsa_okteto"