From 6081c13f6660a957fb8da56035d70c877ece700c Mon Sep 17 00:00:00 2001 From: Marcus Noble Date: Mon, 26 Jul 2021 07:34:21 +0100 Subject: [PATCH] Fix asdf --- .asdfrc | 1 + .dotfiles/environment | 2 +- Makefile | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 .asdfrc diff --git a/.asdfrc b/.asdfrc new file mode 100644 index 0000000..e600bd0 --- /dev/null +++ b/.asdfrc @@ -0,0 +1 @@ +legacy_version_file = yes diff --git a/.dotfiles/environment b/.dotfiles/environment index d57b58b..437f655 100644 --- a/.dotfiles/environment +++ b/.dotfiles/environment @@ -1,4 +1,4 @@ -export PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:$HOME/goworkspace/bin:$HOME/.cargo/bin:/usr/local/kubebuilder/bin" +export PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:$HOME/goworkspace/bin:$HOME/.cargo/bin:/usr/local/kubebuilder/bin:$HOME/.asdf/shims" export EDITOR='vim' export VISUAL='code' diff --git a/Makefile b/Makefile index 316f846..361b151 100644 --- a/Makefile +++ b/Makefile @@ -82,7 +82,8 @@ upgrade: ## Upgrade all required binaries. cd $${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions && git pull && cd -; \ cd $${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting && git pull && cd -; \ asdf plugin update --all; \ - cd ~/.oh-my-zsh && git pull && cd -; + cd ~/.oh-my-zsh && git pull && cd -; \ + npm install -g git-split-diffs; .PHONY: dotfiles dotfiles: ## Installs the dotfiles.