From 9985f486494140a2b3bd030bc0157ceee5593abb Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Fri, 27 Oct 2017 11:43:40 +0200 Subject: [PATCH] Add mysql alias for containered version Signed-off-by: Knut Ahlers --- .zsh/config.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/.zsh/config.sh b/.zsh/config.sh index 0860060..8352e6c 100644 --- a/.zsh/config.sh +++ b/.zsh/config.sh @@ -28,6 +28,7 @@ bindkey '^[[1;9D' backward-word ## Aliases alias alpine='docker run --rm -ti alpine /bin/sh' alias gometalinter='gometalinter --enable-all -D aligncheck -D errcheck -D lll --cyclo-over=15 -e bindata.go --vendor' +alias mysql='docker run --rm -ti -v $(pwd):$(pwd) -w $(pwd) mysql bash' alias :q='exit' ## Initialize GPG agent