Mercurial > dotfiles
view .chezmoiscripts/run_once_after_99-build-zsh-histdb-skim.sh.tmpl @ 774:61f7d3bd724f
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/JohnnyMorganz/StyLua: v0.17.0 ? v0.17.1](https://github.com/JohnnyMorganz/StyLua/compare/v0.17.0...v0.17.1)
author | pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> |
---|---|
date | Mon, 03 Apr 2023 22:12:52 +0000 |
parents | 1896bcf3fdb8 |
children | 72744c944497 |
line wrap: on
line source
{{ if (or (eq .chezmoi.os "darwin") (and (eq .chezmoi.os "linux") (ne .chezmoi.arch "arm64") (ne .chezmoi.osRelease.id "centos"))) -}} #!/usr/bin/env zsh source $HOME/.asdf/asdf.sh asdf shell rust 1.64.0 brew unlink sqlite HISTDB_SKIM_DIR="$HOME/.local/share/zsh-histdb-skim" if [[ -d "$HISTDB_SKIM_DIR" ]] then cd "$HISTDB_SKIM_DIR" git pull else git clone https://github.com/zegervdv/zsh-histdb-skim "$HISTDB_SKIM_DIR" fi cd "$HISTDB_SKIM_DIR" cargo build --release cp target/release/zsh-histdb-skim zsh-histdb-skim {{ end -}}