mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2025-10-07 07:22:36 +02:00
capture sub-directories too
This commit is contained in:
parent
2d79fbeb41
commit
bfe1c0a592
@ -14,7 +14,7 @@ for command in mount umount sv pacman updatedb su shutdown poweroff reboot ; do
|
|||||||
done; unset command
|
done; unset command
|
||||||
|
|
||||||
se() {
|
se() {
|
||||||
s=("${HOME}/.local/bin/"*)
|
s=("${HOME}/.local/bin/"**/*(.))
|
||||||
c="$(print -lnr ${s:t:r} | fzf)"
|
c="$(print -lnr ${s:t:r} | fzf)"
|
||||||
[[ "${c}" ]] && "${EDITOR}" ${${(M)s:#*/${c}*}[1]}
|
[[ "${c}" ]] && "${EDITOR}" ${${(M)s:#*/${c}*}[1]}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user