diff --git a/zsh-custom/plugins/zsh-syntax-highlighting b/zsh-custom/plugins/zsh-syntax-highlighting index b07ada1..df0f448 160000 --- a/zsh-custom/plugins/zsh-syntax-highlighting +++ b/zsh-custom/plugins/zsh-syntax-highlighting @@ -1 +1 @@ -Subproject commit b07ada1255b74c25fbc96901f2b77dc4bd81de1a +Subproject commit df0f44858634c454fbbabc182fc5ffe43b8907b5 diff --git a/zshrc b/zshrc index 1e3f145..b57d759 100755 --- a/zshrc +++ b/zshrc @@ -185,32 +185,6 @@ fi path+=( $GOPATH/bin ${GOROOT+${GOROOT}/bin} ) -function image_env -{ - [[ ! -z "$1" ]] && local name=$1 || local name=stemma - [[ ! -z "$2" ]] && local number=$2 || local number=9 - [[ ! -z "$3" ]] && export BASE_TAR=$3 - [[ ! -z "$4" ]] && export DISKIMAGE_TAR=$4 - [[ ! -z "$5" ]] && export WORKING_PATH=$5 - export FQDN="$name-$number.mpe.lab.vce.com" - export IP="10.239.132.$number" - export GATEWAY_IP="10.239.132.1" - export NETMASK="255.255.252.0" - export DNS_1="10.239.128.100" - export DNS_2="10.136.112.220" - export ROOT_PASSWORD='V1rtu@1c3!' - export USER_NAME='dellemc' - export USER_PASSWORD='Abcd123$' - export SCRIPT_DEBUG=0 - [[ -z "$WORKING_PATH" ]] && export WORKING_PATH=/home/ova-build -} - -function image_latest -{ - export BASE_TAR="http://$(hostname -f)/dl/$(cd ~http/dl/ ; ls centos*.txz | tail -n1)" - export DISKIMAGE_TAR="http://$(hostname -f)/dl/$(cd ~http/dl/ ; ls base-vmdk*.txz | tail -n1)" -} - zstyle :omz:plugins:ssh-agent agent-forwarding on zstyle :omz:plugins:ssh-agent identities id_ed25519 zstyle :omz:plugins:ssh-agent lifetime 36h