mirror of
https://github.com/d0zingcat/dotfiles.git
synced 2026-05-14 07:26:44 +00:00
add asdf-vm
This commit is contained in:
4
.zshrc
4
.zshrc
@@ -18,6 +18,7 @@ antigen bundle vi-mode
|
||||
antigen bundle autojump
|
||||
antigen bundle pip
|
||||
antigen bundle pipenv
|
||||
antigen bundle asdf
|
||||
antigen bundle Aloxaf/fzf-tab
|
||||
antigen bundle wbingli/zsh-wakatime
|
||||
|
||||
@@ -163,11 +164,12 @@ fi
|
||||
#export PKG_CONFIG_PATH="/usr/local/opt/zlib/lib/pkgconfig"
|
||||
|
||||
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
|
||||
[ -f ~/.asdf/asdf.sh ] && source ~/.asdf/asdf.sh
|
||||
[ -f /usr/local/etc/profile.d/autojump.sh ] && . /usr/local/etc/profile.d/autojump.sh
|
||||
[ -f /usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/completion.zsh.inc ] && . /usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/completion.zsh.inc
|
||||
[ -f /usr/share/fzf/completion.zsh ] && source /usr/share/fzf/completion.zsh
|
||||
[ -f /usr/share/fzf/key-bindings.zsh ] && source /usr/share/fzf/key-bindings.zsh
|
||||
|
||||
[ -f /opt/asdf-vm/asdf.sh ] && source /opt/asdf-vm/asdf.sh
|
||||
compdef __start_kubectl k
|
||||
#autoload -U +X compinit && compinit
|
||||
#autoload -U +X bashcompinit && bashcompinit
|
||||
|
||||
2
setup.sh
2
setup.sh
@@ -31,6 +31,8 @@ HOME_DIR="$HOME"
|
||||
function init() {
|
||||
sudo xcode-select --install
|
||||
sudo xcodebuild -license accept
|
||||
echo 'Installing asdf-vm'
|
||||
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.10.0
|
||||
if [[ $(command -v brew) = "" ]]; then
|
||||
echo "Installing brew"
|
||||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||
|
||||
Reference in New Issue
Block a user