Skip to content

Commit 61e8bdb

Browse files
committed
add old .zshrc file
1 parent 105ce76 commit 61e8bdb

File tree

1 file changed

+202
-0
lines changed

1 file changed

+202
-0
lines changed

config_files/.zshrc

Lines changed: 202 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,202 @@
1+
#-----------------------------------------------------------------------------
2+
# Author: Tim Siwula <[email protected]>
3+
# File: ~/.zshrc
4+
# Date: 09/06/2017
5+
#-----------------------------------------------------------------------------
6+
# Edit: atom /usr/local/bin/sync_master_develop.sh
7+
# Update: bash /usr/local/bin/sync_master_develop.sh
8+
#-----------------------------------------------------------------------------
9+
10+
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
11+
# ALIAS COMMANDS
12+
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
13+
alias benchp="cd $HOME/Dropbox/Projects/parity && pwd"
14+
alias benchc="cd $HOME/Dropbox/Projects/cpp-ethereum && pwd"
15+
alias benchg="cd /Users/tim.siwula/Dropbox/Projects/go-ethereum/core/vm && pwd"
16+
alias google="gcloud compute ssh high-memory-instance1-zone-us-west1a-260-per-month"
17+
alias projects="cd /Users/tim.siwula/Dropbox/Projects/ && pwd && ls -la"
18+
alias projectsgo="cd /Users/tim.siwula/go/src/github.com/tcsiwula && pwd && ls -la"
19+
alias rlp="cd /Users/tim.siwula/Dropbox/Projects/pier-rlp && pwd"
20+
alias zksnark="cd /Users/tim.siwula/Dropbox/Projects/zero-knowledge-proofs && pwd"
21+
22+
# located: /usr/local/bin/deploy_script.sh
23+
alias deploy="bash deploy_script.sh"
24+
25+
# located: /usr/local/bin/sync_master_upstream.sh
26+
alias syncm="bash sync_master_upstream.sh"
27+
28+
#/usr/local/bin/sync_master_develop.sh
29+
alias syncd="bash sync_master_develop.sh"
30+
31+
alias addcommand="atom ~/.zshrc"
32+
alias addc="addcommand"
33+
34+
# only for bash shell
35+
#alias updatecommand="source ~/.zshrc"
36+
alias updatecommand=". ~/.zshrc"
37+
38+
alias uc="updatecommand"
39+
alias bashcode="cd /Users/tim.siwula/Dropbox/Projects/bash_code && pwd"
40+
41+
alias a="atom"
42+
alias o="open ."
43+
alias c="clear"
44+
alias C="clear"
45+
alias h="history"
46+
47+
48+
alias addssh="atom ~/.ssh/config"
49+
alias az="ssh [email protected]"
50+
alias pegasys="go run cli.go pegasys"
51+
52+
53+
#-----------------------------------------------------------------------------
54+
alias sp="stat -f \"%A %N\" *" # show permissions
55+
#-----------------------------------------------------------------------------
56+
57+
# The next line updates PATH for the Google Cloud SDK.
58+
if [ -f '/Users/tim.siwula/google-cloud-sdk/path.zsh.inc' ]; then source '/Users/tim.siwula/google-cloud-sdk/path.zsh.inc'; fi
59+
# The next line enables shell command completion for gcloud.
60+
if [ -f '/Users/tim.siwula/google-cloud-sdk/completion.zsh.inc' ]; then source '/Users/tim.siwula/google-cloud-sdk/completion.zsh.inc'; fi
61+
62+
#homebrew
63+
export PATH=/usr/local/bin:$PATH
64+
65+
# golang config
66+
export GOROOT="/usr/local/go"
67+
# directory of your go workspace
68+
export GOPATH="/Users/tim.siwula/go"
69+
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin
70+
71+
#-------------------------------------------------------------
72+
# Quorum and constellation configs
73+
#-------------------------------------------------------------
74+
export PATH=$HOME/Dropbox/Projects/quorum/0.0_quorum/quorum/build/bin:$PATH
75+
export PATH=/Users/tim.siwula/.local/bin:$PATH
76+
#source '/Users/tim.siwula/lib/azure-cli/az.completion'
77+
78+
#nvm
79+
export NVM_DIR="$HOME/.nvm"
80+
. "$(brew --prefix nvm)/nvm.sh"
81+
82+
83+
84+
# go env setup
85+
# https://www.youtube.com/watch?v=FTDOW8UbKjQ
86+
# If you come from bash you might have to change your $PATH.
87+
#export PATH=$HOME/bin:/usr/local/bin:$PATH
88+
# Path to your oh-my-zsh installation.
89+
export ZSH=/Users/tim.siwula/.oh-my-zsh
90+
# Set name of the theme to load. Optionally, if you set this to "random"
91+
# it'll load a random theme each time that oh-my-zsh is loaded.
92+
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
93+
#ZSH_THEME="robbyrussell"
94+
# Uncomment the following line to use case-sensitive completion.
95+
# CASE_SENSITIVE="true"
96+
# Uncomment the following line to use hyphen-insensitive completion. Case
97+
# sensitive completion must be off. _ and - will be interchangeable.
98+
# HYPHEN_INSENSITIVE="true"
99+
# Uncomment the following line to disable bi-weekly auto-update checks.
100+
# DISABLE_AUTO_UPDATE="true"
101+
102+
# Uncomment the following line to change how often to auto-update (in days).
103+
# export UPDATE_ZSH_DAYS=13
104+
105+
# Uncomment the following line to disable colors in ls.
106+
# DISABLE_LS_COLORS="true"
107+
108+
# Uncomment the following line to disable auto-setting terminal title.
109+
# DISABLE_AUTO_TITLE="true"
110+
111+
# Uncomment the following line to enable command auto-correction.
112+
# ENABLE_CORRECTION="true"
113+
114+
# Uncomment the following line to display red dots whilst waiting for completion.
115+
# COMPLETION_WAITING_DOTS="true"
116+
117+
# Uncomment the following line if you want to disable marking untracked files
118+
# under VCS as dirty. This makes repository status check for large repositories
119+
# much, much faster.
120+
# DISABLE_UNTRACKED_FILES_DIRTY="true"
121+
122+
# Uncomment the following line if you want to change the command execution time
123+
# stamp shown in the history command output.
124+
# The optional three formats: "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
125+
# HIST_STAMPS="mm/dd/yyyy"
126+
127+
# Would you like to use another custom folder than $ZSH/custom?
128+
# ZSH_CUSTOM=/path/to/new-custom-folder
129+
130+
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
131+
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
132+
# Example format: plugins=(rails git textmate ruby lighthouse)
133+
# Add wisely, as too many plugins slow down shell startup.
134+
plugins=(git)
135+
136+
source $ZSH/oh-my-zsh.sh
137+
138+
# User configuration
139+
140+
# export MANPATH="/usr/local/man:$MANPATH"
141+
142+
# You may need to manually set your language environment
143+
# export LANG=en_US.UTF-8
144+
145+
# Preferred editor for local and remote sessions
146+
if [[ -n $SSH_CONNECTION ]]; then
147+
export EDITOR='vim'
148+
else
149+
export EDITOR='mvim'
150+
fi
151+
export PS1="happy_mbp=>"
152+
# Compilation flags
153+
# export ARCHFLAGS="-arch x86_64"
154+
155+
# ssh
156+
# export SSH_KEY_PATH="~/.ssh/rsa_id"
157+
158+
# Set personal aliases, overriding those provided by oh-my-zsh libs,
159+
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
160+
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
161+
# For a full list of active aliases, run `alias`.
162+
#
163+
# Example aliases
164+
# alias zshconfig="mate ~/.zshrc"
165+
# alias ohmyzsh="mate ~/.oh-my-zsh"
166+
export PATH="/usr/local/opt/gpg-agent/bin:$PATH"
167+
168+
169+
170+
171+
172+
173+
174+
175+
176+
177+
178+
179+
180+
# export PATH="$HOME/.cargo/bin:$PATH"
181+
# export JAVA_HOME=`/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home`
182+
#
183+
#
184+
# #
185+
# # gpg auto sign/commit logic
186+
# # https://gist.github.com/bmhatfield/cc21ec0a3a2df963bffa3c1f884b676b
187+
#
188+
# # In order for gpg to find gpg-agent, gpg-agent must be running, and there must be an env
189+
# # variable pointing GPG to the gpg-agent socket. This little script, which must be sourced
190+
# # in your shell's init script (ie, .bash_profile, .zshrc, whatever), will either start
191+
# # gpg-agent or set up the GPG_AGENT_INFO variable if it's already running.
192+
#
193+
# # Add the following to your shell init to set up gpg-agent automatically for every shell
194+
# if [ -f ~/.gnupg/.gpg-agent-info ] && [ -n "$(pgrep gpg-agent)" ]; then
195+
# source ~/.gnupg/.gpg-agent-info
196+
# export GPG_AGENT_INFO
197+
# else
198+
# eval $(gpg-agent --daemon --write-env-file ~/.gnupg/.gpg-agent-info)
199+
# fi
200+
#
201+
#
202+

0 commit comments

Comments
 (0)