Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #
- # Executes commands at login pre-zshrc.
- #
- # Authors:
- # Sorin Ionescu <sorin.ionescu@gmail.com>
- #
- #
- # Browser
- #
- if [[ "$OSTYPE" == darwin* ]]; then
- export BROWSER='open'
- fi
- #
- # Editors
- #
- export EDITOR='nano'
- export VISUAL='nano'
- export PAGER='less'
- #
- # Language
- #
- if [[ -z "$LANG" ]]; then
- export LANG='en_US.UTF-8'
- fi
- #
- # Paths
- #
- # Ensure path arrays do not contain duplicates.
- typeset -gU cdpath fpath mailpath path
- # Set the the list of directories that cd searches.
- # cdpath=(
- # $cdpath
- # )
- # Set the list of directories that Zsh searches for programs.
- path=(
- /usr/local/{bin,sbin}
- $path
- )
- #
- # Less
- #
- # Set the default Less options.
- # Mouse-wheel scrolling has been disabled by -X (disable screen clearing).
- # Remove -X and -F (exit if the content fits on one screen) to enable it.
- export LESS='-F -g -i -M -R -S -w -X -z-4'
- # Set the Less input preprocessor.
- # Try both `lesspipe` and `lesspipe.sh` as either might exist on a system.
- if (( $#commands[(i)lesspipe(|.sh)] )); then
- export LESSOPEN="| /usr/bin/env $commands[(i)lesspipe(|.sh)] %s 2>&-"
- fi
- #
- # Temporary Files
- #
- if [[ ! -d "$TMPDIR" ]]; then
- export TMPDIR="/tmp/$LOGNAME"
- mkdir -p -m 700 "$TMPDIR"
- fi
- TMPPREFIX="${TMPDIR%/}/zsh"
- alias goo='cd ~/go/src/github.com/vmware/'
- alias pvt='cd ~/photon-controller-pvt/'
- alias devbox='cd ~/photon-controller/devbox-photon'
- alias ci='cd ~/photon-controller/ruby/integration_tests/ci'
- alias gocli='cd /Users/tliaqat/go/src/github.com/vmware/photon-controller-cli'
- alias pc='cd ~/photon-controller/'
- alias xn='cd ~/xenon'
- alias gs='git status'
- alias gl='git log'
- alias fg='find . | grep $@'
- alias dif='git diff | cdiff -s -w `expr \`tput cols\` / 2`'
- alias ips='ifconfig | grep inet'
- export DEVEL_AGENT_VIB=True
- export REMOTE_SERVERS=10.146.36.34
- export CUSTOM_TEST_CONFIG=/Users/tliaqat/jenkins-ci/esxcloud/ruby/start_devbox.sh public
- export REMOTE_SERVER=10.146.36.34
- # export PATH=$PATH:~/go/src/github.com/vmware/photon-controller-cli/bin
- export ZOOKEEPER_PATH=/usr/local/Cellar/zookeeper/3.4.7/libexec
- export REAL_AGENT=1
- export PUBLIC_NETWORK_IP=10.118.97.242
- export PUBLIC_NETWORK_GATEWAY=10.118.97.253
- export PUBLIC_NETWORK_NETMASK=255.255.255.128
- export BRIDGE_NETWORK="en"
- export ESX_IP=10.146.36.34
- export ESX_DATASTORE=datastore1
- # For VMOMMI GO CLI
- export GOVC_INSECURE=true
- export GOVC_URL='10.146.36.87'
- export GOVC_USERNAME=root
- export GOVC_PASSWORD=''
- eval "$(docker-machine env dev)"
- LS_COLORS=$LS_COLORS:'di=0;35:' ; export LS_COLORS
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement