swcarpentry / DEPRECATED-bc

DEPRECATED: This repository is now frozen - please see individual lesson repositories.
Other
299 stars 382 forks source link

Adding info on aliases #655

Closed tomwright01 closed 10 years ago

tomwright01 commented 10 years ago

Added info on 'why use aliases'

tomwright01 commented 10 years ago

Whoops, didn't mean to push this back the the swcarpentry repository.

rgaiacs commented 10 years ago

First I'm reopening this PR since it was close by accident.

@tomwright01 Thanks very much for your PR. I'm against add aliases to novice lesson because we already too much information.

I know that aliases is very useful (for example, make diff's -Z default) but since scripts can solve the same problems target by aliases and others I'm +1 to avoid talk about aliases for novices.

gdevenyi commented 10 years ago

How about we redirect this to a full-fledged lesson in novice/extras, it's clearly good material

tomwright01 commented 10 years ago

I liked the location of this material in the scripting lesson as a simple example of how we can use the shell to 'simplify' our lives. As it stands I don't think there is enough information for a seperate lesson, however at some point I would be happy to add infomation editing .bashrc add persistence. Any other good examples of alias use would be welcome.

ethanwhite commented 10 years ago

I agree with @r-gaia-cs that we should avoid this in the novice lessons since there is already a lot of material for a 3 hour chunk of workshop. I think adding it to novice/extras as @gdevenyi suggests or adding it to intermediate/shell would both be good options.

We are generally short on material in the intermediate sections, so even if this feels like there isn't enough information here for a separate lesson it would be a valuable starting point.

gvwilson commented 10 years ago

Please redirect to intermediate/shell and we'll merge before #759.

gdevenyi commented 10 years ago

@tomwright01 Can you modify this PR to be a set of new lesson in intermediate/shell

We want to get this into the bc repo before we split bc into individual repos (discussion at #759 )

If you don't have time to do so soon, we'll have to close this and you can reopen a PR on the new shell repo

tomwright01 commented 10 years ago

Hi, Not really sure how to do this, and probably won't have time in the next couple of weeks. I was thinking this would make a separate lesson on 'customising the shell' in intermediate. Feel free to close this PR and I'll open a new one when I have time to create some new material.