Advertisement
Guest User

Untitled

a guest
Apr 2nd, 2016
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.44 KB | None | 0 0
  1. #
  2. # Executes commands at login pre-zshrc.
  3. #
  4. # Authors:
  5. # Sorin Ionescu <sorin.ionescu@gmail.com>
  6. #
  7.  
  8. #
  9. # Browser
  10. #
  11.  
  12. if [[ "$OSTYPE" == darwin* ]]; then
  13. export BROWSER='open'
  14. fi
  15.  
  16. #
  17. # Editors
  18. #
  19.  
  20. export EDITOR='nano'
  21. export VISUAL='nano'
  22. export PAGER='less'
  23.  
  24. #
  25. # Language
  26. #
  27.  
  28. if [[ -z "$LANG" ]]; then
  29. export LANG='en_US.UTF-8'
  30. fi
  31.  
  32. #
  33. # Paths
  34. #
  35.  
  36. # Ensure path arrays do not contain duplicates.
  37. typeset -gU cdpath fpath mailpath path
  38.  
  39. # Set the the list of directories that cd searches.
  40. # cdpath=(
  41. # $cdpath
  42. # )
  43.  
  44. # Set the list of directories that Zsh searches for programs.
  45. path=(
  46. /usr/local/{bin,sbin}
  47. $path
  48. )
  49.  
  50. #
  51. # Less
  52. #
  53.  
  54. # Set the default Less options.
  55. # Mouse-wheel scrolling has been disabled by -X (disable screen clearing).
  56. # Remove -X and -F (exit if the content fits on one screen) to enable it.
  57. export LESS='-F -g -i -M -R -S -w -X -z-4'
  58.  
  59. # Set the Less input preprocessor.
  60. # Try both `lesspipe` and `lesspipe.sh` as either might exist on a system.
  61. if (( $#commands[(i)lesspipe(|.sh)] )); then
  62. export LESSOPEN="| /usr/bin/env $commands[(i)lesspipe(|.sh)] %s 2>&-"
  63. fi
  64.  
  65. #
  66. # Temporary Files
  67. #
  68.  
  69. if [[ ! -d "$TMPDIR" ]]; then
  70. export TMPDIR="/tmp/$LOGNAME"
  71. mkdir -p -m 700 "$TMPDIR"
  72. fi
  73. TMPPREFIX="${TMPDIR%/}/zsh"
  74. alias goo='cd ~/go/src/github.com/vmware/'
  75. alias pvt='cd ~/photon-controller-pvt/'
  76. alias devbox='cd ~/photon-controller/devbox-photon'
  77. alias ci='cd ~/photon-controller/ruby/integration_tests/ci'
  78. alias gocli='cd /Users/tliaqat/go/src/github.com/vmware/photon-controller-cli'
  79. alias pc='cd ~/photon-controller/'
  80. alias xn='cd ~/xenon'
  81. alias gs='git status'
  82. alias gl='git log'
  83. alias fg='find . | grep $@'
  84. alias dif='git diff | cdiff -s -w `expr \`tput cols\` / 2`'
  85. alias ips='ifconfig | grep inet'
  86.  
  87. export DEVEL_AGENT_VIB=True
  88. export REMOTE_SERVERS=10.146.36.34
  89. export CUSTOM_TEST_CONFIG=/Users/tliaqat/jenkins-ci/esxcloud/ruby/start_devbox.sh public
  90. export REMOTE_SERVER=10.146.36.34
  91. # export PATH=$PATH:~/go/src/github.com/vmware/photon-controller-cli/bin
  92. export ZOOKEEPER_PATH=/usr/local/Cellar/zookeeper/3.4.7/libexec
  93.  
  94. export REAL_AGENT=1
  95. export PUBLIC_NETWORK_IP=10.118.97.242
  96. export PUBLIC_NETWORK_GATEWAY=10.118.97.253
  97. export PUBLIC_NETWORK_NETMASK=255.255.255.128
  98. export BRIDGE_NETWORK="en"
  99. export ESX_IP=10.146.36.34
  100. export ESX_DATASTORE=datastore1
  101.  
  102. # For VMOMMI GO CLI
  103. export GOVC_INSECURE=true
  104. export GOVC_URL='10.146.36.87'
  105. export GOVC_USERNAME=root
  106. export GOVC_PASSWORD=''
  107.  
  108. eval "$(docker-machine env dev)"
  109. LS_COLORS=$LS_COLORS:'di=0;35:' ; export LS_COLORS
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement