changeset 82:0caebb6fae8d

move the helpers for docker into a separate file
author Dirk Olmes <dirk@xanthippe.ping.de>
date Thu, 04 Feb 2016 02:17:06 +0100
parents a574c668b799
children 75a2fb4e6887
files zshrc-cassiopeia zshrc-docker
diffstat 2 files changed, 12 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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"
--- /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 }