# HG changeset patch # User zegervdv # Date 1704278538 -3600 # Node ID e4d67607d0200dc76d2a2c4c52b81767df646b25 # Parent b2e6175efcad8708fc002450e9dbecc50e771201 feat: install fzf and developer tools manually diff -r b2e6175efcad -r e4d67607d020 .chezmoiscripts/run_onchange_after_15-install-ubuntu-packages.sh.tmpl --- a/.chezmoiscripts/run_onchange_after_15-install-ubuntu-packages.sh.tmpl Fri Dec 22 10:27:32 2023 +0100 +++ b/.chezmoiscripts/run_onchange_after_15-install-ubuntu-packages.sh.tmpl Wed Jan 03 11:42:18 2024 +0100 @@ -11,7 +11,6 @@ "libffi-dev" "libssl-dev" "software-properties-common" - "fzf" "fd-find" "ripgrep" "jq" diff -r b2e6175efcad -r e4d67607d020 .chezmoiscripts/run_onchange_after_22-install-devtools.sh.tmpl --- a/.chezmoiscripts/run_onchange_after_22-install-devtools.sh.tmpl Fri Dec 22 10:27:32 2023 +0100 +++ b/.chezmoiscripts/run_onchange_after_22-install-devtools.sh.tmpl Wed Jan 03 11:42:18 2024 +0100 @@ -1,13 +1,17 @@ {{ if (and (eq .chezmoi.os "linux") (eq .chezmoi.osRelease.name "Ubuntu" )) -}} {{ $packages := dict - "fd" (dict "version" "9.0.0" "url" "https://github.com/sharkdp/fd/releases/download/v${VERSION}/fd-v${VERSION}-i686-unknown-linux-musl.tar.gz") - "rg" (dict "version" "14.0.3" "url" "https://github.com/BurntSushi/ripgrep/releases/download/${VERSION}/ripgrep-${VERSION}-x86_64-unknown-linux-musl.tar.gz") -}} + "fd" (dict "version" "9.0.0" "url" "https://github.com/sharkdp/fd/releases/download/v${VERSION}/fd-v${VERSION}-i686-unknown-linux-musl.tar.gz") + "rg" (dict "version" "14.0.3" "url" "https://github.com/BurntSushi/ripgrep/releases/download/${VERSION}/ripgrep-${VERSION}-x86_64-unknown-linux-musl.tar.gz") + "delta" (dict "version" "0.16.5" "url" "https://github.com/dandavison/delta/releases/download/${VERSION}/delta-${VERSION}-x86_64-unknown-linux-musl.tar.gz") -}} #!/usr/bin/env bash set -xe DOWNLOAD_DIR=${TMPDIR:-/tmp}/devtools INSTALL_DIR=$HOME/bin +export MANPAGE_DIR=$HOME/.local/man + +mkdir -p $MANPAGE_DIR mkdir -p $DOWNLOAD_DIR pushd $DOWNLOAD_DIR @@ -17,9 +21,11 @@ VERSION={{ get $meta "version" }} echo "Downloading {{ . }} v{{ get $meta "version" }} ..." curl -fsSL {{ get $meta "url" }} | tar --strip-components=1 -xz -sudo install -m 755 $DOWNLOAD_DIR/{{ . }} $INSTALL_DIR/{{ . }} +install -m 755 $DOWNLOAD_DIR/{{ . }} $INSTALL_DIR/{{ . }} {{ end }} +find . -name "*.1" | xargs -I {} sh -c 'install {} "$MANPAGE_DIR/$(basename {})"' + popd rm -rf $DOWNLOAD_DIR diff -r b2e6175efcad -r e4d67607d020 .chezmoiscripts/run_onchange_after_23-install-fzf.sh.tmpl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.chezmoiscripts/run_onchange_after_23-install-fzf.sh.tmpl Wed Jan 03 11:42:18 2024 +0100 @@ -0,0 +1,9 @@ +{{ if (and (eq .chezmoi.os "linux") (eq .chezmoi.osRelease.name "Ubuntu" )) -}} +#!/usr/bin/env bash + +set -xe + +git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf +~/.fzf/install --all + +{{ end -}} diff -r b2e6175efcad -r e4d67607d020 .chezmoiscripts/run_onchange_after_41-install-language-servers.sh.tmpl --- a/.chezmoiscripts/run_onchange_after_41-install-language-servers.sh.tmpl Fri Dec 22 10:27:32 2023 +0100 +++ b/.chezmoiscripts/run_onchange_after_41-install-language-servers.sh.tmpl Wed Jan 03 11:42:18 2024 +0100 @@ -15,5 +15,6 @@ pipx install "pyright=={{ $pyright_version }}" npm install -g "@ansible/ansible-language-server" +npm install -g "vscode-langservers-extracted" {{ end }} diff -r b2e6175efcad -r e4d67607d020 dot_zshrc --- a/dot_zshrc Fri Dec 22 10:27:32 2023 +0100 +++ b/dot_zshrc Wed Jan 03 11:42:18 2024 +0100 @@ -291,6 +291,7 @@ export XDG_CONFIG_HOME=$HOME/.config export PATH=$HOME/bin:$PATH export PATH=$HOME/.local/bin:$PATH +export MANPATH=$HOME/.local/man:$MANPATH export EDITOR=hx export HGEDITOR=hx