Merge bfe1c0a5928cb04eeb6bbe2b5ba6d4bfdf8ef054 into c43f390f07098c42db5efce654b07870951b512a

This commit is contained in:
Emre AKYÜZ 2024-10-30 17:26:52 +00:00 committed by GitHub
commit 08e3612f7c
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
se() {
choice="$(find ~/.local/bin -mindepth 1 -printf '%P\n' | fzf)"
[ -f "$HOME/.local/bin/$choice" ] && $EDITOR "$HOME/.local/bin/$choice"
}
s=("${HOME}/.local/bin/"**/*(.))
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.
alias \