Skip to content

Commit

Permalink
Added to tools & utility functions
Browse files Browse the repository at this point in the history
  • Loading branch information
klyve committed Jul 9, 2019
1 parent 2870642 commit 75c0dc7
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 3 deletions.
2 changes: 2 additions & 0 deletions tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ brew install jq
brew install vault
brew install consul
brew install cmake
brew install cfssl
brew install protobuf

# Python
brew install python3
Expand Down
2 changes: 1 addition & 1 deletion zsh/dotfiles/.alias
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ alias airpods='bltc "Bjartes Airpods"'
alias trackpad='bltc "Bjartes Trackpad"'
alias keyboard='bltc "Bjartes Keyboard"'

alias cd='cs'
#alias cd='cs'

5 changes: 5 additions & 0 deletions zsh/dotfiles/.exports
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,13 @@ test -d "${GOPATH}" || mkdir "${GOPATH}"
test -d "${GOPATH}/src/github.com" || mkdir -p "${GOPATH}/src/github.com"
test -d "${GOPATH}/src/bitbucket.org" || mkdir -p "${GOPATH}/src/bitbucket.org"

export PATH="$PATH:~/bin"
export DEV_ENVPATH=~/code/work
export DEFAULT_DEV_ENV=maritimeoptima
export GPG_TTY=$(tty)

export SQUARESPACE_WEBSITE='sheep-rhino-ms3x'
export PURE_PROMPT_SYMBOL='λ'
export PURE_GIT_DOWN_ARROW=''
export PURE_GIT_UP_ARROW=''
export PURE_GIT_UNTRACKED_DIRTY=''
17 changes: 15 additions & 2 deletions zsh/dotfiles/.functions
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,8 @@ function squarespace {
squarespace-server https://${SQUARESPACE_WEBSITE}.squarespace.com --auth --verbose
}

function cs {
cd "$@" && ls -a
function cd {
builtin cd "$@" && ls -a
}

function create-service {
Expand All @@ -171,3 +171,16 @@ function create-service {
function git-clone {
git clone [email protected]:MaritimeOptima/$1.git
}

function create-note {
DATE=$(date "+%Y-%m-%d")
touch "$1-$DATE.md"
}

function argo-add {
REMOTE=$(git config --get remote.origin.url)
argocd repo add $REMOTE --ssh-private-key-path ~/.ssh/id_rsa --insecure-ignore-host-key
}



0 comments on commit 75c0dc7

Please sign in to comment.