-
-
Save ds0nt-star-bot/a3fb0b51619808df3b29 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