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. :)
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?
Heart almost skipped a beat when first glanced at the welcome email, last two lines:
username: thomseddon
password: Your password
With the actual text "Your password", Phew!!
Not quite sure it's necessary to include this line, for the sake of your users cardiovascular health you may wish to consider removing it!
(Oh, do really like this site, started using it already as you can see!)
I don't know if it is my browser, but to me I get the feeling the site is disabled, with the very darkend colors. It's almost as if a modal is showing, and the rest of the page is faded out - but I can't see no modal. Just my first impressions. But other than that: Really cool - going straight to the bookmarks!
This looks great! The 'freq' alias is new to me -- very cool. I would find this more useful were I not to have to create an account before uploading my aliases.
Top two are wrong… Not a good thing.
It's always the same badly written snippets that get copy-pasted across websites without anyone really understanding what it does (hence the copy/paste).
> alias servethis="python -c 'import SimpleHTTPServer; SimpleHTTPServer.test()'"
We only launched this morning so they're all very new. We do have a voting feature on the full page view so we're hoping the poorer aliases sink over time. We also intend to make the voting more prominent.
tar xf doesn't work on zip, rar, 7z, or plain compressed files (ie log.gz instead of log.tar.gz)
Additionally I prefer "verb noun" form over "program noun", so I like extract. I already alias open=xdg-open (so I can type "open somefile.pdf" or "open somefile.doc", etc)
This website is quite fun, except it has (for me) one fatal flaw - if I use the automated stuff I am stuck with whatever name someone else decided to give the alias.
Nope feel free to create another alias. Aliases can be voted up or down so eventually over time the best ones will rise to the top. Also if you want it on your profile just add it.
We did think about this and plan on adding private aliases soon so you can add them without cluttering the site or if you just don't want to share. :)
I eschew aliases, using them only when necessary, e.g. when changing directory. There's many places in Unix where a knowledgeable user can kick off a command and in many aliases won't work. This gets annoying and is solved by having ~/bin/... wherever possible. The overhead is minimal, many being one-line of code starting with exec.
I use aliases to open frequently used programs with specific configuration files (mutt, for example, to manage multiple email accounts) or with long complex arguments (rdesktop, for example, for connections to multiple hosts). I also use ~/bin/ when I want something in my path that has a purpose local to me, but can be widely deployed to the various platforms I work on. But for one-liners that don't work as aliases (used too infrequently or not portable) I use Makefiles. It's nice to be able to cd into a working directory and type 'make update' on any machine without trying to remember which package manager to use and how to invoke it.
I really like the idea, but I'd do even more so if I could install a cronjob to automatically download a file with all aliases I previously added to my online profile. Of course this comes with security implications you'd have to sort out. Please do this (or let me help you with it).
Edit: I just found the feature on the site and am happy now. (:
Comments already exist. You can comment while logged in and viewing an alias. You can use them to post alternatives for now. This is something that will be considered as a new feature though in our next sprint.
A promising start. But it would really help if it were possible to edit aliases you've posted. (For example, I want to clean up the tags for something I posted, but that doesn't seem possible.)
Editing aliases could cause a security issue. Eg if someone is using your alias and you edited it to be malicious. We're planning on having private aliases which will be editable.
If you have a alias you want editing then send us an email from your email on your account and I can help you fix it up. admin at alias dot sh
Keep your bash aliases at github public repository or anywhere in a private repository.
it's more easy to do
git pull mydotfiles.git
rather than using copy pasting from any web resource.
Good suggestion, it's definitely something we are on the fence about. I think "Alias" is better but it also made some of the copy sound a little confusing.
I'm guessing you changed it since this feedback, but I really like the current color scheme. The lighter-grey bubbles around the actual code do a nice job directing focus to the important bits.
It was a very subtle change but yeah we lightened it up a bit after the feedback from this thread. We made quite a few changes actually and summarised them here: http://alias.sh/thank-you-hacker-news-community
[edit] However, I have to admit that I prefer your design. :)