Y
Hacker News
new
|
ask
|
show
|
jobs
by
molecule
4958 days ago
the trailing 'ubl' has always seemed excessive to me:
alias s='subl'
1 comments
lunixbochs
4957 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" }
link
stevvooe
4957 days ago
I just hooked my shell to my frontal lobe. I find aliases to be restricting.
link
Voila!