From 90373038944df0ea78331256535af7970ff764f6 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Thu, 23 May 2024 22:06:37 -0400 Subject: Lint fix command in ns.sh I basically never want to not fix my code from here. Presumably if I'm invoking lint from ns.sh, then I don't have the file open yet, or I just closed it. So it's not super helpful to show me a bunch of things I need to fix and then tell me that I could autofix them but don't actually fix them for me. --- Biz/Ide/ns.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Biz') diff --git a/Biz/Ide/ns.sh b/Biz/Ide/ns.sh index 8c1a1a0..8641207 100755 --- a/Biz/Ide/ns.sh +++ b/Biz/Ide/ns.sh @@ -4,7 +4,7 @@ fd --exclude=_ -t f . "${CODEROOT:?}" | sed "s,${CODEROOT:?}/*,,g" \ | fzf \ --bind "alt-space:execute(bild {} ; read -p [fin])" \ --bind "alt-enter:execute(vim {})" \ - --bind "alt-c:execute(lint {} ; read -p [fin])" \ + --bind "alt-c:execute(lint -f {} ; read -p [fin])" \ --bind "enter:execute(repl.sh {})" \ --bind "ctrl-space:execute(ship.sh {} ; read -p [fin])" \ --bind "alt-t:execute(bild {} ; run.sh {} test ; read -p [fin])" \ -- cgit v1.2.3