Hacker News new | comments | show | ask | jobs | submit login

Command line fu (http://www.commandlinefu.com/commands/browse) already contains a pretty big collection of useful shell snippets, I'm not sure that making another website will help.

[edit] However, I have to admit that I prefer your design. :)




One thing that isn't really highlighted as much as it should be is that you can directly grab or source your opted-in aliases, eg.

    wget -q -O - "$@" https://alias.sh/user/[userid]/alias >> ~/.bash_aliases
or, if you like to live dangerously:

    source <(wget -q -O - "$@" https://alias.sh/user/[userid]/alias)


for me the wget thing doesn't work. i get some aliases, but not those i have been adding to my list.


fschwehn, can you try again. We picked the bug up you were describing.

Also aliases are meant to be public. We may have private aliases in the future.

Thanks for the feedback. Much appreciated.


thanks, now works like a charm!


This is a great site. I might post a few on alias.sh. A lot of them however are just cool commands you can run, not commands that are packaged into an alias.


Isn't an alias just a cool command with a shortcut? I agree that on the site it's just `command` and not `alias short_cmd=command`, but the idea is the same.


One of the advantages of this site is that you can build a list of your aliases and then there are snippets that are provided to copy and source them into your bash aliases file. I guess the advantage is it allows you to a build a list on your own profile and easily sync them across machines. Does this site achieve that?


An alias is the sort of command you use often, or an interesting new way of using a command you use often (e.g. ls).

That's the difference.




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact

Search: