Merge 2d79fbeb411db1233eb33b989f492f5cf8cfd79b into 628ed4dc995f3c09e33c24a01c817c18b1a268af

This commit is contained in:
Emre AKYÜZ 2024-09-02 16:21:28 +03:00 committed by GitHub
commit 01fa31007d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -14,9 +14,10 @@ for command in mount umount sv pacman updatedb su shutdown poweroff reboot ; do
done; unset command done; unset command
se() { se() {
choice="$(find ~/.local/bin -mindepth 1 -printf '%P\n' | fzf)" s=("${HOME}/.local/bin/"*)
[ -f "$HOME/.local/bin/$choice" ] && $EDITOR "$HOME/.local/bin/$choice" c="$(print -lnr ${s:t:r} | fzf)"
} [[ "${c}" ]] && "${EDITOR}" ${${(M)s:#*/${c}*}[1]}
}
# Verbosity and settings that you pretty much just always are going to want. # Verbosity and settings that you pretty much just always are going to want.
alias \ alias \