Browse Source

[bin] Add bootstrap script

Colin Powell 3 days ago
parent
commit
0241eee31e
2 changed files with 20 additions and 1 deletions
  1. 19 0
      bin/.bin/bootstrap.sh
  2. 1 1
      ssh/.ssh/config

+ 19 - 0
bin/.bin/bootstrap.sh

@@ -0,0 +1,19 @@
+#!/usr/bin/env sh
+
+/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
+case "$(uname -s)" in
+Linux)
+    echo "Linux bootstrapping not implemented yet"
+    eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
+    ;;
+Darwin)
+    eval "$(/opt/homebrew/bin/brew shellenv)"
+    ;;
+esac
+brew install stow pass just fzf direnv
+
+git clone https://code.unbl.ink/secstate/dotfiles ~/.dotfiles
+(cd ~/.dotfiles && make)
+git clone --depth=1 https://github.com/ohmyzsh/ohmyzsh ~/.oh-my-zsh
+source ~/.zshrc
+scp powellc@192.168.40.208:~/.gnupg ~/.

+ 1 - 1
ssh/.ssh/config

@@ -10,7 +10,7 @@ Include /Users/powellc/.colima/ssh_config
 #
 #
 Host *
 Host *
   IdentityAgent $SSH_AUTH_SOCK
   IdentityAgent $SSH_AUTH_SOCK
-  PreferredAuthentications publickey
+  #PreferredAuthentications publickey
   IdentitiesOnly no
   IdentitiesOnly no
 
 
 Host github.com
 Host github.com