~kris/dots

srice

ref: 021c9dd69ba66145a888be77bff159c87364054d srice/.config/fish/functions/se.fish -rw-r--r-- 261 bytes
021c9dd6 — Kris Yotam add feedsync fish function for opml-to-sfeedrc sync 5 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