Skip to content

Comment on Configuring Sublime Text 2parent

Comments

the trailing 'ubl' has always seemed excessive to me:

    alias s='subl'

If you find the "s" too much to type... and the "ubl"... and the space...

Voila!

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

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

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.