-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A bunch of recent changes that I want to break out
- Loading branch information
1 parent
9c8b4fd
commit d9479a8
Showing
13 changed files
with
183 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.tags |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/usr/bin/env zsh | ||
|
||
echo kamal michelle ciacci preston matt afia | xargs shuf -n1 -e |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/usr/bin/env bash | ||
|
||
SHA=`git rev-parse HEAD` | ||
BUILD_ID=`gcloud container builds list --format json | jq --arg SHA "$SHA" '.[] | select(.sourceProvenance.resolvedRepoSource.commitSha == $SHA) | .id' | tr -d '"'` | ||
gcloud container builds log $BUILD_ID --stream |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,26 @@ | ||
[user] | ||
name = Preston Cabe | ||
email = prestoncabe@gmail.com | ||
email = pcabe@bdtrust.org | ||
[core] | ||
trustctime = false | ||
[push] | ||
followTags = true | ||
[http] | ||
cookiefile = /Users/pcabe/.gitcookies | ||
[gitflow "feature.finish"] | ||
keep = true | ||
push = true | ||
[gitflow "feature.delete"] | ||
remote = true | ||
# [gitflow "init"] | ||
# defaults = true | ||
[gitflow "hotfix.finish"] | ||
keep = true | ||
push = true | ||
[gitflow "hotfix.delete"] | ||
remote = true | ||
[gitflow "release.finish"] | ||
keep = true | ||
push = true | ||
[gitflow "release.delete"] | ||
remote = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,5 @@ | ||
[applications_to_sync] | ||
adium | ||
atom | ||
bettertouchtool | ||
hazel | ||
mailplane | ||
omnifocus | ||
sequel-pro | ||
ssh | ||
[storage] | ||
engine = icloud |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,54 @@ | ||
# use pick to quickly find file to edit in vim | ||
function pe { | ||
vim $(ag -l | pick) | ||
} | ||
|
||
# use ssh tab completion for sshrc | ||
# use ssh tab completion for sshrc and ssh-multi | ||
compdef sshrc=ssh | ||
|
||
[[ -f ~/.fzf.zsh ]] && source ~/.fzf.zsh | ||
# so we get UTF-8 when SSHing from iPad?? | ||
export LC_ALL=en_US.UTF-8 | ||
export LANG=en_US.UTF-8 | ||
|
||
export PATH="/usr/local/opt/go@1.11/bin:$PATH" | ||
export GOPATH="${HOME}/.go" | ||
export GOROOT="/usr/local/Cellar/go/1.13.7/libexec" | ||
export PATH="$PATH:${GOPATH}/bin:${GOROOT}/bin" | ||
|
||
# an alternative way to the "e" alias that I'm still not sure about | ||
# e () { | ||
# if [[ $# -gt 0 ]] | ||
# then | ||
# $EDITOR "$@" | ||
# else | ||
# $EDITOR "$(fzf-tmux)" | ||
# fi | ||
# } | ||
|
||
# Enable Ctrl-x-e to edit command line | ||
autoload -z edit-command-line | ||
zle -N edit-command-line | ||
bindkey "^X^E" edit-command-line | ||
|
||
export CLOUDSDK_PYTHON="/usr/local/opt/python@3.8/bin/python3" | ||
source "/usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/path.zsh.inc" | ||
source "/usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/completion.zsh.inc" | ||
|
||
# source ~/.git-flow-completion.zsh | ||
source '/usr/local/share/zsh/site-functions/git-flow-completion.zsh' | ||
|
||
# source <(helm completion zsh) | ||
# helm completion; use cache if updated within 24h | ||
if [[ -n $HOME/.helmcompdump(#qN.mh+24) ]]; then | ||
helm completion zsh > $HOME/.helmcompdump; | ||
source $HOME/.helmcompdump; | ||
else | ||
source $HOME/.helmcompdump; | ||
fi; | ||
|
||
set -o emacs | ||
|
||
# show vi mode in shell prompt | ||
# function zle-line-init zle-keymap-select { | ||
# RPS1="${${KEYMAP/vicmd/-- NORMAL --}/(main|viins)/-- INSERT --}" | ||
# RPS2=$RPS1 | ||
# zle reset-prompt | ||
# } | ||
# | ||
# zle -N zle-line-init | ||
# zle -N zle-keymap-select |