Wed, 26 Apr 2023 10:58:22 -0500
add just and fzf stubs, also install gum from binary
bin/fzf | file | annotate | diff | comparison | revisions | |
bin/gum | file | annotate | diff | comparison | revisions | |
bin/just | file | annotate | diff | comparison | revisions | |
bin/setup-windows | file | annotate | diff | comparison | revisions |
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
--- 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
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
--- 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}/ \