Mercurial > dotfiles
diff .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 diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.chezmoiscripts/run_once_after_99-build-zsh-histdb-skim.sh.tmpl Sun Oct 02 11:27:18 2022 +0200 @@ -0,0 +1,12 @@ +{{ 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 -}}