Mercurial > dotfiles
view .chezmoiscripts/run_once_after_99-build-zsh-histdb-skim.sh.tmpl @ 726:2a341028a2c5
fix: use full vim.opt to avoid diagnostic warnings
see: https://github.com/folke/neodev.nvim/issues/77
author | zegervdv <zegervdv@me.com> |
---|---|
date | Sun, 11 Dec 2022 16:11:30 +0100 |
parents | 6aabd0b8d766 |
children | 10e3f300baea |
line wrap: on
line source
{{ if (or (eq .chezmoi.os "linux") (eq .chezmoi.os "darwin")) -}} #!/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 -}}