Delete kpick script

See instead `pick` in the `miscutils` repository.
This commit is contained in:
2025-11-22 17:28:35 +01:00
parent bf38c7f42c
commit 088ddafb0d
2 changed files with 8 additions and 13 deletions

View File

@@ -1,6 +1,9 @@
BINDIR?=${HOME}/.local/bin
cmds=g kpick
fns=diralias j jmod nsalias rr
prefix?=$$HOME/.local
target_bin=${prefix}/bin
target_fun=${prefix}/share/mksh/funs
bin=g
fun=diralias j jmod nsalias rr
install:
install ${fns} $${FPATH:?FPATH not defined}
install ${cmds} ${BINDIR}
install -d ${target_bin} ${target_fun}
install -c ${bin} ${target_bin}
install -c ${fun} ${target_fun}

8
kpick
View File

@@ -1,8 +0,0 @@
#!/usr/bin/env ksh
(( $# == 0 )) && exit 64
(( $# == 1 )) && echo $1 && exit 0
select choice in "$@"
do
print $choice
break
done