view .chezmoiscripts/run_once_after_99-build-zsh-histdb-skim.sh.tmpl @ 685:189d0c688639

feat: install zsh-histdb-skim fork from source
author zegervdv <zegervdv@me.com>
date Sun, 02 Oct 2022 11:27:18 +0200
parents
children e486254ef420
line wrap: on
line source

{{ if (or (eq .chezmoi.os "linux") (eq .chezmoi.os "darwin")) -}}
#!/usr/bin/env zsh

asdf shell rust 1.64.0
brew unlink sqlite

git clone https://github.com/zegervdv/zsh-histdb-skim $HOME/.local/share/zsh-histdb-skim
cd $HOME/.local/share/zsh-histdb-skim
cargo build --release
cp target/release/zsh-histdb-skim zsh-histdb-skim

{{ end -}}