fix bashrc

This commit is contained in:
2020-08-31 08:01:21 -04:00
parent 39ff35cc8e
commit c4447b349c

12
.bashrc
View File

@@ -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}
}