Browse Source

Use git asdf over homebrew

main
Amelia A 4 months ago
parent
commit
42275b4ce9
Signed by: amy GPG Key ID: 98E879BC3B6E1BF8
  1. 4
      home/.Brewfile
  2. 3
      home/.config/nvim/init.vim
  3. 7
      home/.zshrc
  4. 5
      init-macos.sh

4
home/.Brewfile

@ -39,7 +39,7 @@ brew "theseal/ssh-askpass/ssh-askpass"
## Dev Tooling
brew "ansible"
brew "ansible-lint"
brew "asdf"
brew "erlang"
brew "gh"
brew "git"
brew "git-lfs"
@ -49,6 +49,7 @@ brew "hub"
brew "hugo"
brew "jq"
brew "overmind"
brew "rebar3"
brew "shellcheck"
tap "heroku/brew"
@ -64,7 +65,6 @@ brew "dive"
# FireFox
# iTerm
# JetBrains Toolbox
# SublimeText
# SublimeMerge
# Slack

3
home/.config/nvim/init.vim

@ -1,5 +1,4 @@
let g:loaded_python_provider = 1
let g:python3_host_prog = glob('~/.asdf/shims/python3')
let g:python3_host_prog = '/usr/local/bin/python3'
let mapleader = ","

7
home/.zshrc

@ -14,10 +14,11 @@ fpath+=("$HOME/.homesick/repos/homeshick/completions")
# asdf-vm
if [ -f /usr/local/opt/asdf/asdf.sh ]; then
source "/usr/local/opt/asdf/asdf.sh"
# For asdf-erlang
if [ -f $HOME/.asdf/asdf.sh ]; then
source "$HOME/.asdf/asdf.sh"
fpath+=("${ASDF_DIR}/completions")
export KERL_CONFIGURE_OPTIONS=--without-javac
export RUBY_CONFIGURE_OPTS="--with-openssl-dir=$(brew --prefix openssl@1.1)"
fi

5
init-macos.sh

@ -12,6 +12,11 @@ then
echo 1
fi
if [[ ! -d $HOME/.asdf ]]; then
git clone https://github.com/asdf-vm/asdf.git ~/.asdf
git -C ~/.asdf checkout "$(git describe --abbrev=0 --tags)"
fi
## Install homeshick
git clone git://github.com/andsens/homeshick.git "$HOME/.homesick/repos/homeshick"
source "$HOME/.homesick/repos/homeshick/homeshick.sh"

Loading…
Cancel
Save