Last active
August 14, 2018 09:56
-
-
Save pawelkomarnicki/991492e0c326894d22d6dba194f7a063 to your computer and use it in GitHub Desktop.
Bash profile things
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
export PS1="\w » " | |
export EDITOR=code | |
# Requires file from https://raw.githubusercontent.com/git/git/master/contrib/completion/git-completion.bash | |
source ~/git-completion.bash | |
# Make docker-compose commands shorter | |
alias dcb='docker-compose build' | |
alias dcu='docker-compose up' | |
alias dcd='docker-compose down' | |
function dcr() { | |
docker-compose run --rm $1-task ${@:2:99} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment