Skip to content

Commit 59c4dad

Browse files
committed
commiting multiple changes that have accrued
1 parent d698c9f commit 59c4dad

File tree

8 files changed

+36
-15
lines changed

8 files changed

+36
-15
lines changed

deis/aliases.zsh

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
alias pdeis="DEIS_PROFILE=prod deis"
22
alias pefapps="DEIS_PROFILE=prod efapps"
3+
alias ltefapps="DEIS_PROFILE=lt efapps"

docker/aliases.zsh

+5
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,7 @@
11
alias d='docker $*'
22
alias d-c='docker-compose $*'
3+
alias ecr-login='aws ecr get-login-password \
4+
--region us-east-1 \
5+
| docker login \
6+
--username AWS \
7+
--password-stdin 537461397591.dkr.ecr.us-east-1.amazonaws.com'

git/aliases.zsh

-8
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
1-
# Use `hub` as our git wrapper:
2-
# http://defunkt.github.com/hub/
3-
hub_path=$(which hub)
4-
if (( $+commands[hub] ))
5-
then
6-
alias git=$hub_path
7-
fi
8-
91
# The rest of my fun git aliases
102
alias gl='git pull --prune'
113
alias glog="git log --graph --pretty=format:'%Cred%h%Creset %an: %s - %Creset %C(yellow)%d%Creset %Cgreen(%cr)%Creset' --abbrev-commit --date=relative"

jenv/init.zsh

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
export PATH="$HOME/.jenv/bin:$PATH"
2+
eval "$(jenv init -)"

nvm/nvm.zsh

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
2+
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
3+
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
4+
5+
# place this after nvm initialization!
6+
autoload -U add-zsh-hook
7+
load-nvmrc() {
8+
if [[ -f .nvmrc && -r .nvmrc ]]; then
9+
nvm use
10+
elif [[ $(nvm version) != $(nvm version default) ]]; then
11+
echo "Reverting to nvm default version"
12+
nvm use default
13+
fi
14+
}
15+
add-zsh-hook chpwd load-nvmrc
16+
load-nvmrc

openssl/openssl.zsh

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#set homebrew openssl first in PATH so its loaded instead of Mac LibreSSL version
2+
export PATH="/usr/local/opt/[email protected]/bin:$PATH"

ssh/ssh-agent.zsh

+6-6
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
#NOTE: I haven't yet figured out how to automate the setup of the launchctl stuff so that is manually done for now
1212

1313
# Discover the running ssh-agent started by launchd
14-
export SSH_AGENT_PID=$(pgrep -U $USER ssh-agent)
15-
if [ -n "$SSH_AGENT_PID" ]; then
16-
export SSH_AUTH_SOCK=$(lsof -U -a -p $SSH_AGENT_PID -F n | grep '^n/' | cut -c2-)
17-
else
18-
echo "No running ssh-agent found. Check your launchd service."
19-
fi
14+
#export SSH_AGENT_PID=$(pgrep -U $USER ssh-agent)
15+
#if [ -n "$SSH_AGENT_PID" ]; then
16+
# export SSH_AUTH_SOCK=$(lsof -U -a -p $SSH_AGENT_PID -F n | grep '^n/' | cut -c2-)
17+
#else
18+
# echo "No running ssh-agent found. Check your launchd service."
19+
#fi

zsh/zshrc.symlink

+4-1
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,7 @@ autoload -U down-line-or-beginning-search
4747
zle -N up-line-or-beginning-search
4848
zle -N down-line-or-beginning-search
4949
bindkey "^[[A" up-line-or-beginning-search # Up
50-
bindkey "^[[B" down-line-or-beginning-search # Down
50+
bindkey "^[[B" down-line-or-beginning-search # Downexport OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES # added by crucible
51+
alias start_zookeeper_server='sudo /usr/local/confluent/bin/zookeeper-server-start /usr/local/confluent/etc/kafka/zookeeper.properties # added by crucible' # added by crucible
52+
alias start_kafka_server='sudo /usr/local/confluent/bin/kafka-server-start /usr/local/confluent/etc/kafka/server.properties # added by crucible' # added by crucible
53+
alias start_schema_registry_server='sudo /usr/local/confluent/bin/schema-registry-start /usr/local/confluent/etc/kafka/schema-registry.properties' # added by crucible

0 commit comments

Comments
 (0)