Alias.sh: for finding, sharing and storing bash aliases
alias.sh
alias.sh
[edit] However, I have to admit that I prefer your design. :)
That's the difference.
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)Also aliases are meant to be public. We may have private aliases in the future.
Thanks for the feedback. Much appreciated.
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!)
Tonight I'm planning on bumping up the contrast and it seems calibrating my monitor also ;)
> alias servethis="python -c 'import SimpleHTTPServer; SimpleHTTPServer.test()'"
python -m SimpleHTTPServer # python 3
python -m http.server # Python 3
> extract () { /* useless stuff */ } tar xfAdditionally 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)
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..
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. :)
Edit: I just found the feature on the site and am happy now. (:
source <(wget -q -O - "$@" 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.
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
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".
alias process='ps -ax'
:)Yes please.