Live data from Hacker News

Alias.sh: for finding, sharing and storing bash aliases

alias.sh

41–50 of 55 posts

Re: Alias.sh: for finding, sharing and storing bash aliases

#41

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. For example, http://alias.sh/open-any-file-default-command-file I find so useful I shorted the alias to 'o'. Now, I could make another alias with a different name, but that seems like a bad idea..

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. :)

Re: Alias.sh: for finding, sharing and storing bash aliases

#42

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

Re: Alias.sh: for finding, sharing and storing bash aliases

#43
post #37

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()'" python -m SimpleHTTPServer # python 3 python -m http.server # Python 3 > extract () { /* useless stuff */ } tar xf

I think you mean Python 2 for the SimpleHTTPServer example.

Re: Alias.sh: for finding, sharing and storing bash aliases

#44

I like this, but I think the author or contributor of the alias should be made public (like next to the vote/score buttons)

Good suggestion. I just added it to the full page view and will consider adding it throughout the site in the next sprint.

Re: Alias.sh: for finding, sharing and storing bash aliases

#45

A search function would be great, showing just the popular tags makes it hard to find new tricks.

I agree; that and being able to tag and comment on aliases. Some way of posting alternatives for the same task would be great too.

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.

Re: Alias.sh: for finding, sharing and storing bash aliases

#47
post #39
post #38

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. (:

You can use the second command on your profile page. source https://alias.sh/user/7/alias ) This will source it every time you login. Otherwise you could easily put the first command on your profile in a cronjob to run one daily etc.

Are you the benjy from the site? Thanks for the help.

Re: Alias.sh: for finding, sharing and storing bash aliases

#49
post #47
post #39

Earlier quoted context omitted.

You can use the second command on your profile page. source https://alias.sh/user/7/alias ) This will source it every time you login. Otherwise you could easily put the first command on your profile in a cronjob to run one daily etc.

Are you the benjy from the site? Thanks for the help.

Yeah that's me.

Re: Alias.sh: for finding, sharing and storing bash aliases

#50

Nice site! Consider using the site's name consistently. The logo is "alias", the home page refers to "Alias.sh", and the About page refers to "alias.sh".

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.
Post reply on HN