comparison .chezmoiscripts/run_once_after_99-build-zsh-histdb-skim.sh.tmpl @ 687:6aabd0b8d766

feat: install asdf directly without brew
author zegervdv <zegervdv@me.com>
date Sun, 02 Oct 2022 18:43:18 +0200
parents e486254ef420
children 10e3f300baea
comparison
equal deleted inserted replaced
686:e486254ef420 687:6aabd0b8d766
1 {{ if (or (eq .chezmoi.os "linux") (eq .chezmoi.os "darwin")) -}} 1 {{ if (or (eq .chezmoi.os "linux") (eq .chezmoi.os "darwin")) -}}
2 #!/usr/bin/env zsh 2 #!/usr/bin/env zsh
3 3
4 source $(brew --prefix asdf)/libexec/asdf.sh 4 source $HOME/.asdf/asdf.sh
5 asdf shell rust 1.64.0 5 asdf shell rust 1.64.0
6 brew unlink sqlite 6 brew unlink sqlite
7 7
8 HISTDB_SKIM_DIR="$HOME/.local/share/zsh-histdb-skim" 8 HISTDB_SKIM_DIR="$HOME/.local/share/zsh-histdb-skim"
9 if [[ -d "$HISTDB_SKIM_DIR" ]] 9 if [[ -d "$HISTDB_SKIM_DIR" ]]