# HG changeset patch # User Dirk Olmes # Date 1454548626 -3600 # Node ID 0caebb6fae8dd6fef6a2b867bf95a04a8bd24dd0 # Parent a574c668b7999e0fe34cf0087fbe4edb19eac720 move the helpers for docker into a separate file diff -r a574c668b799 -r 0caebb6fae8d zshrc-cassiopeia --- a/zshrc-cassiopeia Wed Aug 26 10:11:39 2015 +0200 +++ b/zshrc-cassiopeia Thu Feb 04 02:17:06 2016 +0100 @@ -5,10 +5,11 @@ . $HOME/.zsh-env/zshrc-jdk . $HOME/.zsh-env/zshrc-maven . $HOME/.zsh-env/zshrc-bindkey +. $HOME/.zsh-env/zshrc-docker . $HOME/.zsh-autoenv/autoenv.zsh export BUILD_NUMBER=0000 -export EXENTRA_WORKSPACE=/home/dirk/Eclipse/Workspaces/Exentra/rpi-git +export EXENTRA_WORKSPACE=/home/dirk/Eclipse/Workspaces/Exentra/rpi export MULE_TEST_OPTS="-Dmule.verbose=false" export MULE_TEST_TIMEOUTSECS=9999 export PATH="$HOME/bin:${PATH}" @@ -17,7 +18,7 @@ # # aliases # -alias ant="/opt/eclipse-4.4/plugins/org.apache.ant_1.9.2.v201404171502/bin/ant" +alias ant="/opt/eclipse-4.5/plugins/org.apache.ant_1.9.4.v201504302020/bin/ant" alias bzip=lbzip2 alias df="df -h" alias env="env | sort | $PAGER" diff -r a574c668b799 -r 0caebb6fae8d zshrc-docker --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/zshrc-docker Thu Feb 04 02:17:06 2016 +0100 @@ -0,0 +1,9 @@ +# +# Useful aliases and functions for docker +# + +alias dc="docker-compose" +alias dim="docker images" +alias dpa="docker ps -a --format 'table {{.ID}}\t{{.Image}}\t{{.Status}}\t{{.Names}}'" + +dex() { docker exec -it $1 /bin/sh }