Hacker News new | ask | show | jobs
by lunixbochs 4962 days ago
If you find the "s" too much to type... and the "ubl"... and the space...

Voila!

    command_not_found_handle() {
        [[ -e "$1" ]] && subl "$1"
    }
1 comments

I just hooked my shell to my frontal lobe. I find aliases to be restricting.