# HG changeset patch # User Meredith Howard # Date 1682524702 18000 # Node ID 902c7d44ab231b005ccb053915f3182338b3f847 # Parent f2deab330bf115e17d6ad571fefeecbcdce7737b add just and fzf stubs, also install gum from binary diff --git a/bin/fzf b/bin/fzf new file mode 100755 --- /dev/null +++ b/bin/fzf @@ -0,0 +1,11 @@ +#!/bin/sh +set -eu + +install_it() { + mkdir -p ~/.local/bin + cd ~/.local/bin + curl -fsSL 'https://bina.egoist.dev/junegunn/fzf?dir=.' | sh + cd - +} + +. ~/.lib/sh/stubexec.sh diff --git a/bin/gum b/bin/gum --- a/bin/gum +++ b/bin/gum @@ -4,8 +4,12 @@ set -eu age_limit=7 install_it() { - go install github.com/charmbracelet/gum@latest - asdf reshim || : + mkdir -p ~/.local/bin + cd ~/.local/bin + curl -fsSL 'https://bina.egoist.dev/charmbracelet/gum?dir=.' | sh + cd - + # go install github.com/charmbracelet/gum@latest + # asdf reshim || : } . ~/.lib/sh/stubexec.sh diff --git a/bin/just b/bin/just new file mode 100755 --- /dev/null +++ b/bin/just @@ -0,0 +1,15 @@ +#!/bin/sh +set -eu + +install_it() { + mkdir -p ~/.local/bin + cd ~/.local/bin + curl -fsSL 'https://bina.egoist.dev/casey/just?dir=.' | sh + cd - + # cargo install just +} + +# This can probably be removed next time you look here +export JUST_CHOOSER="fzf --preview 'just --show {}'" + +. ~/.lib/sh/stubexec.sh diff --git a/bin/setup-windows b/bin/setup-windows --- a/bin/setup-windows +++ b/bin/setup-windows @@ -19,7 +19,7 @@ cp -vuRL -t ${USERPROFILE}/vimfiles .vim mkdir -p ${USERPROFILE}/AppData/Local/nvim cp -vuRL -t ${USERPROFILE}/AppData/Local/nvim .config/nvim/* -mkdir -p ${USERPROFILE}/.oneovim +mkdir -p ${USERPROFILE}/.goneovim cp -vu .config/goneovim/settings.toml ${USERPROFILE}/.goneovim/ cp -vuRL -t ${USERPROFILE}/ \