~kris/dots

srice

ref: 15fdcf78915608f4681dbcd34bfaa239c0d0dcea srice/.config/fish/functions/se.fish -rw-r--r-- 261 bytes
15fdcf78 — Kris Yotam add 10 scripts, remove remapd/remaps 6 months ago
                                                                                
1
2
3
4
5
6
function se --description "Script editor - edit scripts in ~/.local/bin"
    set choice (find ~/.local/bin -mindepth 1 -printf '%P\n' | fzf)
    if test -n "$choice"; and test -f "$HOME/.local/bin/$choice"
        $EDITOR "$HOME/.local/bin/$choice"
    end
end