~kris/dots

srice

ref: 2dc7c2f7e39f562e3603676ef50c2df0a4723c19 srice/.config/fish/functions/se.fish -rw-r--r-- 261 bytes
2dc7c2f7 — Kris Yotam update nvim plan9 theme, add hosts file, misc updates 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