-
-
Save faddat/53bee0a8e3639b51a3d4 to your computer and use it in GitHub Desktop.
Awesome bash hacks --- (for web devs & ninjas, for dot-file pride, for pleasing the monospace gods )
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#### #### #### #### #### #### | |
# / ! / | |
# / e / | |
# / M / | |
# / / | |
# / k / | |
# / r / | |
# / o / | |
# F / | |
# / | |
# / | |
# | |
# js friendly tree | |
src-tree() | |
{ | |
tree -I node_modules | |
} | |
# destroy all docker containers.. | |
docker-purge() | |
{ | |
docker ps -aq | while read x; do docker stop $x; docker rm $x; done | |
} | |
# customized bashrc per project -- for project-related aliases and tasks! | |
# for instance: https://github.com/kloudsio/klouds/blob/master/.bashrc-klouds | |
foo-bash() | |
{ | |
bash --rcfile /code/foo/.bashrc-foo | |
} | |
# | |
# Let's start a collection. :) | |
# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Dan's bash hacks are good-- just as good as the time I discovered: https://github.com/guioconnor/Passwordless-SSH