changeset 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 0bea9fd463b5
children e486254ef420
files .chezmoiscripts/run_once_after_99-build-zsh-histdb-skim.sh.tmpl .github/workflows/test.yml dot_tool-versions
diffstat 3 files changed, 17 insertions(+), 0 deletions(-) [+]
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 -}}
--- a/.github/workflows/test.yml	Mon Oct 03 05:58:53 2022 +0000
+++ b/.github/workflows/test.yml	Sun Oct 02 11:27:18 2022 +0200
@@ -16,6 +16,10 @@
       - name: Install chezmoi
         run: brew install chezmoi
 
+      - name: Install system dependencies
+        run: sudo apt install -y libsqlite3-dev
+        if: matrix.os == 'ubuntu-latest'
+
       - name: Bootstrap environment
         run: |
           mkdir -p $HOME/.config/chezmoi/
--- a/dot_tool-versions	Mon Oct 03 05:58:53 2022 +0000
+++ b/dot_tool-versions	Sun Oct 02 11:27:18 2022 +0200
@@ -1,3 +1,4 @@
 python 3.10.7
 neovim 0.8.0
 direnv 2.32.1
+rust 1.64.0