diff --git a/.bashrc b/.bashrc index d795b46..a28c327 100644 --- a/.bashrc +++ b/.bashrc @@ -16,8 +16,10 @@ HISTCONTROL=ignoreboth shopt -s histappend # for setting history length see HISTSIZE and HISTFILESIZE in bash(1) -HISTSIZE=1000 -HISTFILESIZE=2000 +HISTSIZE=10000 +HISTFILESIZE=10000 +HISTTIMEFORMAT="%h %d %H:%M:%S " +PROMPT_COMMAND='history -a' # check the window size after each command and, if necessary, # update the values of LINES and COLUMNS. @@ -119,7 +121,7 @@ fi -eval $(/mnt/c/Users/sstent/weasel-pageant-1.1/weasel-pageant -r) +#eval $(/mnt/c/Users/sstent/weasel-pageant-1.1/weasel-pageant -r) export DOCKER_HOST=tcp://192.168.1.223:2375 export NOMAD_ADDR=http://192.168.1.250:4646 @@ -148,3 +150,7 @@ if [[ $ALREADY_RUNNING != "0" ]]; then (setsid socat UNIX-LISTEN:$SSH_AUTH_SOCK,fork EXEC:"npiperelay.exe -ei -s //./pipe/openssh-ssh-agent",nofork &) > /dev/null 2>&1 fi +dockerbuild() { +docker build -t registry.service.dc1.consul:5000/${1} ~/ansible-home/compose/${1}/ +docker push registry.service.dc1.consul:5000/${1} +}