RBBBDTNM7J6BR3SUIZQQ3FATAVWTXFQ5472JJGVH3TC37VYGSTFAC
VSGSN57DJWUM5XTB76IDCPLWXQ7NWN2I25XROSZIFLF6PT5AVZOAC
MX5CAVUZ632YVBIQTK7S6SWPL33LE2KMZVPGX76PLPRX4FFA4NCAC
57YU55IK55Q4QDV45LD3ILNQDQV46NKLYK3HS6VWR2SDTOFSYXKAC
73ADP3OYJPH4DOQU3G3VS4T66GCP5EQF5FWRRLTLCTSTDGHCEAUQC
KYBCX6CAMAG25UXT2JJAGZZFFQVUPKZPLOJXJVA7NTVARXJ6BGMAC
XZDJ2Z4M2MKWIDXN7EYBYQHGO7P5RSWPUGOQ3W2MHIUF55XQSXHQC
mycli -h $EVENTBRITE_MYSQL_QA_JOURNAL -p $(script_lpass okta) -D transaction_journal $@
mycli -h $EVENTBRITE_MYSQL_QA_HISTORY -p $(script_lpass database) -D eb_history $@
mycli -h $EVENTBRITE_MYSQL_QA_EB -p $(script_lpass database) -D eb $@
mycli -h $EVENTBRITE_MYSQL_PROD_WEBHOOKS -p $(script_lpass okta) -D webhooks $@
mycli -h $EVENTBRITE_MYSQL_PROD_MESSAGE -p $(script_lpass okta) -D message $@
mycli -h $EVENTBRITE_MYSQL_PROD_JOURNAL -p $(script_lpass okta) -D journal $@
mycli -h $EVENTBRITE_MYSQL_PROD_HISTORY -p $(script_lpass okta) -D eb_history $@
mycli -h $EVENTBRITE_MYSQL_PROD_EB -p $(script_lpass okta) -D eb $@
if [[ -n $SSH_CONNECTION ]]; then
export EDITOR=$(which vim)
else
export EDITOR=$(which emacsclient)
fi
export EDITOR=vim
PATH=$PYTHON_2_PATH:$PYTHON_3_PATH:$PYENV_ROOT/bin:$PYENV_ROOT/shims:$PATH
PYENV_SHIMS=/Users/ccummings/.pyenv/shims
PYENV_VENV_SHIMS=/usr/local/Cellar/pyenv-virtualenv/1.1.1/shims
PATH=$PYTHON_2_PATH:$PYTHON_3_PATH:$PYENV_ROOT/bin:$PYENV_ROOT/shims:$DOTFILES/bin:/usr/local/bin:$PYENV_VENVSHIMS:$PYENV_SHIMS:$HOME/.fzf/bin:$PATH
PATH="$DOTFILES/bin:/usr/local/bin:/usr/local/Cellar/pyenv-virtualenv/1.1.1/shims:/Users/ccummings/.pyenv/shims:$HOME/.fzf/bin:$PATH"
source "$HOME/.private_variables"
EB_FUNCTIONS=$DOTFILES/zsh/eb_functions
fpath=($EB_FUNCTIONS $fpath)
for func in $(ls $EB_FUNCTIONS); do autoload $func; done;
fi
if which pyenv-virtualenv-init > /dev/null; then eval "$(pyenv virtualenv-init -)"; fi
#! /usr/bin/env fish
function script_lpass
# if logged out, log in
if not lpass status -q
/usr/local/bin/lpass login $EB_LAST_PASS_USER > /dev/null
end
set result (/usr/local/bin/lpass show -p -G "$argv")
if echo $result | grep -iq "multiple matches found"
set result (lpass show -p (lpass ls | grep -i -E "$argv" | fzf | rg -o --replace '$1' '\[id: (\d+)\]'))
end
echo $result
end
script_lpass $argv