-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup-workstation
35 lines (25 loc) · 909 Bytes
/
setup-workstation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
###########################
Brew Install
###########################
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/install/master/install)"
###########################
Install git author
###########################
https://github.com/pivotal/git-author
###########################
Brew packages
###########################
brew install homebrew/cask/shiftit
brew install homebrew/cask/flycut
brew install golang
###########################
Setup PS1
###########################
echo "export PS1='\e[0;33m[\u@\h \W]\$ \e[m'" >> ~/.bash_profile
###########################
gcloud cleanup docker images
###########################
function delete-gcloud-container-images() {
REPO=$1
gcloud container images list-tags ${REPO} --filter='-tags:*' --format='get(digest)' --limit=unlimited | awk -v repo=${REPO} '{print repo "@" $1}' | xargs gcloud container images delete --quiet
}