Last active
May 20, 2016 06:46
-
-
Save cngkaygusuz/e2852dbeb34474b2334c0c1eb349c061 to your computer and use it in GitHub Desktop.
Extra helpers for bashrc
This file contains 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
function cd { | |
builtin cd $1 | |
ls | |
} | |
alias cb="cd /base" | |
# Docker | |
function dntr { | |
docker exec -ti $1 bash | |
} | |
function drun { | |
docker run -ti $1 bash | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment