mirror of
https://github.com/sstent/dotfiles.git
synced 2026-02-06 06:22:01 +00:00
fix bashrc
This commit is contained in:
12
.bashrc
12
.bashrc
@@ -16,8 +16,10 @@ HISTCONTROL=ignoreboth
|
|||||||
shopt -s histappend
|
shopt -s histappend
|
||||||
|
|
||||||
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
|
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
|
||||||
HISTSIZE=1000
|
HISTSIZE=10000
|
||||||
HISTFILESIZE=2000
|
HISTFILESIZE=10000
|
||||||
|
HISTTIMEFORMAT="%h %d %H:%M:%S "
|
||||||
|
PROMPT_COMMAND='history -a'
|
||||||
|
|
||||||
# check the window size after each command and, if necessary,
|
# check the window size after each command and, if necessary,
|
||||||
# update the values of LINES and COLUMNS.
|
# 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 DOCKER_HOST=tcp://192.168.1.223:2375
|
||||||
export NOMAD_ADDR=http://192.168.1.250:4646
|
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
|
(setsid socat UNIX-LISTEN:$SSH_AUTH_SOCK,fork EXEC:"npiperelay.exe -ei -s //./pipe/openssh-ssh-agent",nofork &) > /dev/null 2>&1
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
dockerbuild() {
|
||||||
|
docker build -t registry.service.dc1.consul:5000/${1} ~/ansible-home/compose/${1}/
|
||||||
|
docker push registry.service.dc1.consul:5000/${1}
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user