citadel

My dotfiles, scripts and nix configs
git clone git://jb55.com/citadel
Log | Files | Refs | README | LICENSE

commit 79cebe1d008b0b340694f8dcae626663facf6640
parent 552015d2a94ae1ad19339a100f9e8e435a40fa0c
Author: William Casarin <jb55@jb55.com>
Date:   Mon, 12 Apr 2021 08:55:45 -0700

bin: generalize fuzz-last-files

Diffstat:
Mbin/fuzz-last-files | 4+++-
Mdotfiles/commands | 3++-
2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/bin/fuzz-last-files b/bin/fuzz-last-files @@ -2,6 +2,8 @@ set -eou pipefail +action="${1:-open}" + file=$(ls -1pt | grep -v / | fuzzer) -echo "open $file" +echo "$action $file" diff --git a/dotfiles/commands b/dotfiles/commands @@ -12,7 +12,8 @@ em edit mimi echo edit ~/.config/mimi/mime.conf ecv edit nvim config echo edit ~/.config/nvim/init.vim ecn edit neomutt config echo edit ~/.config/neomutt/neomuttrc ecc edit vdirsyncer config echo edit ~/.config/vdirsyncer/config -lt last files fuzz-last-files +elf edit last files fuzz-last-files edit +olf open last files fuzz-last-files open sc show command fuzz-show-script sh show history fuzz-show-hist Nc new command echo make-script