Last active
November 14, 2023 05:50
-
-
Save rohithegde/cf6a883a34c3e9803637d728e89e3451 to your computer and use it in GitHub Desktop.
Revisions
-
rohithegde revised this gist
Nov 14, 2023 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -35,7 +35,8 @@ brew install wget htop tmux jq ncdu task gitleaks brew tap cantino/mcfly brew install mcfly npm install -g @microsoft/inshellisense #inshellisense --shell zsh inshellisense bind echo 'eval "$(mcfly init zsh)"' >> ~/.zshrc echo $green wget --version -
rohithegde revised this gist
Nov 14, 2023 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -35,6 +35,7 @@ brew install wget htop tmux jq ncdu task gitleaks brew tap cantino/mcfly brew install mcfly npm install -g @microsoft/inshellisense inshellisense --shell zsh echo 'eval "$(mcfly init zsh)"' >> ~/.zshrc echo $green wget --version -
rohithegde revised this gist
Nov 14, 2023 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -34,6 +34,7 @@ echo "---------------------------"$white brew install wget htop tmux jq ncdu task gitleaks brew tap cantino/mcfly brew install mcfly npm install -g @microsoft/inshellisense echo 'eval "$(mcfly init zsh)"' >> ~/.zshrc echo $green wget --version -
rohithegde revised this gist
Nov 6, 2022 . 1 changed file with 12 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -8,6 +8,7 @@ blue=$'\e[1;34m' # Install Chrome : https://www.google.com/chrome/ # Customise System preferences (can use AppleScript to automate this too to some extent) # - Keyboard for cursor speed and Touch Bar # Select MesloLGS NF for Terminal font as its the only font we are installing here. Else Powerline icons will NOT load. # 1. Homebrew echo $yellow"---------------------------" @@ -107,9 +108,13 @@ echo "Installing Azure CLI" echo "---------------------------"$white brew update && brew install azure-cli # Azure cli installs Python3 newer version internally # We need python2 fr powerline theme. So dont use python3 sym link for python. #sudo ln -sf /opt/homebrew/bin/python3 /usr/local/bin/python python3 -m pip install --upgrade pip echo $green python --version python3 --version pip3 --version az --version echo $white @@ -230,3 +235,9 @@ echo "Please install the softwares present in the Downloads folder." #3. ~/aliases.txt # 4. ~/.p10k.sh - will be created automatically once you start zsh for the first time and run through the p10k options. # 16. Xcode from App Store # Alternative is to install using Mac store CLI : # brew install mas # mas list # mas search Xcode
-
rohithegde revised this gist
Nov 5, 2022 . 1 changed file with 47 additions and 85 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -14,24 +14,36 @@ echo $yellow"---------------------------" echo "INSTALLING Homebrew" echo "---------------------------"$white chmod u+w /usr/local/share/zsh /usr/local/share/zsh/site-functions /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" echo "export PATH=$PATH:/opt/homebrew/bin" >> ~/.zshrc echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zprofile eval "$(/opt/homebrew/bin/brew shellenv)" sudo chown -R $(whoami) $(brew --prefix)/* sudo chown -R $(whoami) /usr/local/share/zsh /usr/local/share/zsh/site-functions echo $green brew --version | head -n 1 echo $white # Useful tools to upgrade your cli exp echo $yellow"---------------------------" echo "INSTALLING some miscellaneous tools" echo "---------------------------"$white brew install wget htop tmux jq ncdu task gitleaks brew tap cantino/mcfly brew install mcfly echo 'eval "$(mcfly init zsh)"' >> ~/.zshrc echo $green wget --version tmux --version jq --version ncdu --version task --version gitleaks --version echo $white # Prezto framework echo $yellow"---------------------------" echo "INSTALLING Prezto framework for Zsh" echo "---------------------------"$white @@ -43,29 +55,29 @@ for rcfile in "${ZDOTDIR:-$HOME}"/.zprezto/runcoms/^README.md(.N); do ln -sf "$rcfile" "${ZDOTDIR:-$HOME}/.${rcfile:t}" done # Zsh theme # Install Fonts echo $yellow"---------------------------" echo "INSTALLING Powerlevel10k for Zsh" echo "---------------------------"$white wget --no-check-certificate -P ~/Library/Fonts https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Regular.ttf wget --no-check-certificate -P ~/Library/Fonts https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Bold.ttf wget --no-check-certificate -P ~/Library/Fonts https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Italic.ttf wget --no-check-certificate -P ~/Library/Fonts https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Bold%20Italic.ttf echo 'ZSH_THEME="powerlevel10k/powerlevel10k"' >> ~/.zshrc setopt EXTENDED_GLOB for rcfile in "${ZDOTDIR:-$HOME}"/.zprezto/runcoms/^README.md(.N); do ln -s "$rcfile" "${ZDOTDIR:-$HOME}/.${rcfile:t}" done echo "zstyle ':prezto:module:prompt' theme 'powerlevel10k'" >> ~/.zpreztorc # Vim # Package manager : vim-plug echo $yellow"---------------------------" echo "INSTALLING Vim plug" echo "---------------------------"$white wget --no-check-certificate -P ~/.vim/autoload/ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim # Vim Plugins mkdir -p ~/.vim/bundle echo "call plug#begin('~/.vim/bundle')" >> ~/.vimrc echo "Plug 'vim-airline/vim-airline'" >> ~/.vimrc @@ -77,59 +89,13 @@ echo $green vim --version | head -n 1 echo $white # Visual Studio code echo $yellow"---------------------------" echo "Installing Visual Studio Code" echo "---------------------------"$white brew install --cask visual-studio-code # get ext list with code --list-extensions >> vs_code_extensions_list.txt and upload it to github wget --no-check-certificate https://gist.github.com/rohithegde/cb440b87f890145663016963e91774ae/raw/vs-code-extensions-list-az-devops.txt cat vs-code-extensions-list-az-devops.txt | xargs -n 1 code --install-extension echo $green code --version @@ -140,7 +106,10 @@ echo $yellow"---------------------------" echo "Installing Azure CLI" echo "---------------------------"$white brew update && brew install azure-cli # Azure cli installs Python3 newer version internally sudo ln -sf /opt/homebrew/bin/python3 /usr/local/bin/python echo $green python --version az --version echo $white @@ -157,16 +126,14 @@ echo $green podman --version echo $white # 9. Tfenv echo $yellow"---------------------------" echo "Installing tfenv" echo "---------------------------"$white brew install terraform-docs brew install tfenv echo $green tfenv --version echo $white # 10. Git @@ -182,7 +149,7 @@ echo $white echo $yellow"---------------------------" echo "K8s related tools" echo "---------------------------"$white brew install kubectl echo $green kubectl version echo $white @@ -221,11 +188,14 @@ echo $white #13 Blog echo $yellow"---------------------------" echo "Installing Jekyll and upgrade Ruby for it" echo "---------------------------"$white curl -L https://get.rvm.io | bash -s stable echo "source ~/.rvm/scripts/rvm" >> ~/.zshrc rvm install 2.7.6 sudo gem install jekyll bundler echo $green rmv --version echo $white # 14. Miscellaneous @@ -235,7 +205,7 @@ echo "---------------------------"$white # TF support for Zsh echo "zstyle ':prezto:load' pmodule-dirs $HOME/.zprezto-contrib" >> ~/.zpreztorc git clone https://github.com/prezto-contributions/prezto-terraform.git ~/.zprezto-contrib/terraform wget --no-check-certificate -P ~/ https://gist.github.com/rohithegde/7481ba88172233caa278969b4bb6605a/raw/aliases.txt echo "source ~/aliases.txt" >> ~/.zshrc echo $blue echo "MANUAL : add git, terraform to pmodule list in Zsh Prezto" @@ -251,20 +221,12 @@ brew install --cask netnewswire echo $yellow"---------------------------" echo "Installing Draw.io" echo "---------------------------"$white wget --no-check-certificate https://github.com/jgraph/drawio-desktop/releases/download/v14.6.13/draw.io-14.6.13.dmg echo "Please install the softwares present in the Downloads folder." #NOTE : Your setup is present in files #1. ~/.zshrc #2. ~/.zpreztorc #3. ~/aliases.txt # 4. ~/.p10k.sh - will be created automatically once you start zsh for the first time and run through the p10k options. -
rohithegde revised this gist
Nov 5, 2022 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -129,7 +129,7 @@ echo "Installing Visual Studio Code" echo "---------------------------"$white brew install --cask visual-studio-code # get ext list with code --list-extensions >> vs_code_extensions_list.txt and upload it to github wget https://gist.github.com/rohithegde/cb440b87f890145663016963e91774ae/raw/vs-code-extensions-list-az-devops.txt cat vs-code-extensions-list-az-devops.txt | xargs -n 1 code --install-extension echo $green code --version -
rohithegde revised this gist
Nov 5, 2022 . 1 changed file with 15 additions and 14 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -86,12 +86,12 @@ brew tap cantino/mcfly brew install mcfly echo 'eval "$(mcfly init zsh)"' >> ~/.zshrc echo $green wget --version tmux --version jq --version ncdu --version task --version gitleaks --version echo $white # 5. Replace older tools @@ -103,7 +103,7 @@ echo "---------------------------"$white brew uninstall curl brew install curl-openssl echo $green curl --version echo $white # 5b. Python3 @@ -114,12 +114,12 @@ brew install pyenv brew install zlib CFLAGS="-I$(brew --prefix openssl)/include -I$(brew --prefix bzip2)/include -I$(brew --prefix readline)/include -I$(xcrun --show-sdk-path)/usr/include" LDFLAGS="-L$(brew --prefix openssl)/lib -L$(brew --prefix readline)/lib -L$(brew --prefix zlib)/lib -L$(brew --prefix bzip2)/lib" pyenv install --patch 3.8.2 < <(curl -sSL https://github.com/python/cpython/commit/8ea6353.patch\?full_index\=1) echo $green pyenv --version echo $white pyenv install 3.9.15 pyenv global 3.9.15 echo $green python --version echo $white echo 'eval "$(pyenv init --path)"' >> ~/.zshrc @@ -132,7 +132,7 @@ brew install --cask visual-studio-code wget https://gist.github.com/rohithegde/cb440b87f890145663016963e91774ae/raw/73de0705f1e35e3329347db88dab2569a450b428/vs-code-extensions-list-az-devops.txt cat vs-code-extensions-list-az-devops.txt | xargs -n 1 code --install-extension echo $green code --version echo $white # 7. Azure @@ -141,7 +141,7 @@ echo "Installing Azure CLI" echo "---------------------------"$white brew update && brew install azure-cli echo $green az --version echo $white # 8. Container mgmt @@ -154,18 +154,19 @@ podman machine init podman machine start echo $green podman --version echo $white # 9. Terraform echo $yellow"---------------------------" echo "Installing tfenv and Terraform" echo "---------------------------"$white brew install terraform-docs brew install tfenv tfenv install 1.1.19 echo $green tfenv --version terraform --version echo $white # 10. Git -
rohithegde revised this gist
Nov 5, 2022 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -46,7 +46,7 @@ done # 2b. Zsh theme # Install Fonts echo $yellow"---------------------------" echo "INSTALLING Powerlevel10k for Zsh" echo "---------------------------"$white wget -P ~/Library/Fonts https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Regular.ttf wget -P ~/Library/Fonts https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Bold.ttf -
rohithegde revised this gist
Nov 5, 2022 . 1 changed file with 48 additions and 12 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -2,6 +2,7 @@ green=$'\e[32m' yellow=$'\e[1;33m' white=$'\e[0m' blue=$'\e[1;34m' # Manual steps : # Install Chrome : https://www.google.com/chrome/ @@ -101,6 +102,9 @@ echo "Replacing curl with curl-openssl" echo "---------------------------"$white brew uninstall curl brew install curl-openssl echo $green curl --version | head -n 1 echo $white # 5b. Python3 echo $yellow"---------------------------" @@ -109,9 +113,14 @@ echo "---------------------------"$white brew install pyenv brew install zlib CFLAGS="-I$(brew --prefix openssl)/include -I$(brew --prefix bzip2)/include -I$(brew --prefix readline)/include -I$(xcrun --show-sdk-path)/usr/include" LDFLAGS="-L$(brew --prefix openssl)/lib -L$(brew --prefix readline)/lib -L$(brew --prefix zlib)/lib -L$(brew --prefix bzip2)/lib" pyenv install --patch 3.8.2 < <(curl -sSL https://github.com/python/cpython/commit/8ea6353.patch\?full_index\=1) echo $green pyenv --version | head -n 1 echo $white pyenv install 3.9.15 pyenv global 3.9.15 echo $green python --version | head -n 1 echo $white echo 'eval "$(pyenv init --path)"' >> ~/.zshrc # 6. Visual Studio code @@ -122,13 +131,18 @@ brew install --cask visual-studio-code # get ext list with code --list-extensions >> vs_code_extensions_list.txt and upload it to github wget https://gist.github.com/rohithegde/cb440b87f890145663016963e91774ae/raw/73de0705f1e35e3329347db88dab2569a450b428/vs-code-extensions-list-az-devops.txt cat vs-code-extensions-list-az-devops.txt | xargs -n 1 code --install-extension echo $green code --version | head -n 1 echo $white # 7. Azure echo $yellow"---------------------------" echo "Installing Azure CLI" echo "---------------------------"$white brew update && brew install azure-cli echo $green az --version | head -n 1 echo $white # 8. Container mgmt echo $yellow"---------------------------" @@ -138,7 +152,10 @@ echo "---------------------------"$white brew install podman podman machine init podman machine start echo $green podman --version | head -n 1 echo $white # 9. Terraform echo $yellow"---------------------------" @@ -147,23 +164,32 @@ echo "---------------------------"$white brew install terraform-docs brew install tfenv tfenv install 1.1.19 echo $green terraform --version | head -n 1 echo $white # 10. Git echo $yellow"---------------------------" echo "Installing git" echo "---------------------------"$white brew install git echo $green git --version | head -n 1 echo $white # 11. Kubernetes and related tools echo $yellow"---------------------------" echo "K8s related tools" echo "---------------------------"$white az aks install-cli echo $green kubectl version echo $white brew install derailed/k9s/k9s echo $green k9s version echo $white ( set -x; cd "$(mktemp -d)" && OS="$(uname | tr '[:upper:]' '[:lower:]')" && @@ -174,7 +200,9 @@ sudo pip3 install kube-shell ./"${KREW}" install krew ) echo "export PATH=${KREW_ROOT:-$HOME/.krew}/bin:$PATH" >> ~/.zshrc echo $green kubectl krew version echo $white # 12. Golang echo $yellow"---------------------------" @@ -186,23 +214,31 @@ echo "export GOROOT=/usr/local/opt/go/libexec" >> ~/.zshrc echo "export PATH=$PATH:$GOPATH/bin" >> ~/.zshrc echo "export PATH=$PATH:$GOROOT/bin" >> ~/.zshrc brew install go echo $green go version echo $white #13 Blog echo $yellow"---------------------------" echo "Installing Jekyll" echo "---------------------------"$white sudo gem install jekyll bundler echo $green jekyll --version echo $white # 14. Miscellaneous echo $yellow"---------------------------" echo "Installing miscellaenous tools" echo "---------------------------"$white # TF support for Zsh echo "zstyle ':prezto:load' pmodule-dirs $HOME/.zprezto-contrib" >> ~/.zpreztorc git clone https://github.com/prezto-contributions/prezto-terraform.git ~/.zprezto-contrib/terraform wget -P ~/ https://gist.github.com/rohithegde/7481ba88172233caa278969b4bb6605a/raw/aliases.txt echo "source ~/aliases.txt" >> ~/.zshrc echo $blue echo "MANUAL : add git, terraform to pmodule list in Zsh Prezto" echo $white # 15. RSS Feed reader echo $yellow"---------------------------" -
rohithegde revised this gist
Nov 5, 2022 . 1 changed file with 92 additions and 9 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,20 +1,39 @@ #!/bin/zsh green=$'\e[32m' yellow=$'\e[1;33m' white=$'\e[0m' # Manual steps : # Install Chrome : https://www.google.com/chrome/ # Customise System preferences (can use AppleScript to automate this too to some extent) # - Keyboard for cursor speed and Touch Bar # 1. Homebrew echo $yellow"---------------------------" echo "INSTALLING Homebrew" echo "---------------------------"$white sudo chown -R $(whoami) $(brew --prefix)/* sudo chown -R $(whoami) /usr/local/share/zsh /usr/local/share/zsh/site-functions chmod u+w /usr/local/share/zsh /usr/local/share/zsh/site-functions /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" echo $green brew --version | head -n 1 echo $white # 2. Zsh is already installed on new Macs echo $yellow"---------------------------" echo "Ensuring existing pre-installed Zsh is default shell" echo "---------------------------"$white chsh -s /bin/zsh echo $green zsh --version | head -n 1 echo $white # 2a. Prezto framework echo $yellow"---------------------------" echo "INSTALLING Prezto framework for Zsh" echo "---------------------------"$white rm -rf "${ZDOTDIR:-$HOME}/.zprezto" git clone --recursive https://github.com/sorin-ionescu/prezto.git "${ZDOTDIR:-$HOME}/.zprezto" @@ -25,6 +44,9 @@ done # 2b. Zsh theme # Install Fonts echo $yellow"---------------------------" echo "INSTALLING Fonts for Zsh" echo "---------------------------"$white wget -P ~/Library/Fonts https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Regular.ttf wget -P ~/Library/Fonts https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Bold.ttf wget -P ~/Library/Fonts https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Italic.ttf @@ -38,6 +60,9 @@ echo "zstyle ':prezto:module:prompt' theme 'powerlevel10k'" >> ~/.zpreztorc # 3. Vim # 3a. Package manager : vim-plug echo $yellow"---------------------------" echo "INSTALLING Vim plug" echo "---------------------------"$white wget -P ~/.vim/autoload/ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim # 3b. Vim Plugins mkdir -p ~/.vim/bundle @@ -47,21 +72,40 @@ echo "Plug 'vim-airline/vim-airline-themes'" >> ~/.vimrc echo "Plug 'preservim/nerdtree'" >> ~/.vimrc echo "call plug#end()" >> ~/.vimrc vim -E -s -u "$HOME/.vimrc" +PlugInstall +qall echo $green vim --version | head -n 1 echo $white # 4a. Useful tools to upgrade your cli exp echo $yellow"---------------------------" echo "INSTALLING some miscellaneous tools" echo "---------------------------"$white brew install wget htop tmux jq ncdu task gitleaks brew tap cantino/mcfly brew install mcfly echo 'eval "$(mcfly init zsh)"' >> ~/.zshrc echo $green wget --version | head -n 1 tmux --version | head -n 1 jq --version | head -n 1 ncdu --version | head -n 1 task --version | head -n 1 gitleaks --version | head -n 1 echo $white # 5. Replace older tools # 5a. Curl with openssl echo $yellow"---------------------------" echo "Replacing curl with curl-openssl" echo "---------------------------"$white brew uninstall curl brew install curl-openssl # 5b. Python3 echo $yellow"---------------------------" echo "Installing pyenv and python" echo "---------------------------"$white brew install pyenv brew install zlib CFLAGS="-I$(brew --prefix openssl)/include -I$(brew --prefix bzip2)/include -I$(brew --prefix readline)/include -I$(xcrun --show-sdk-path)/usr/include" LDFLAGS="-L$(brew --prefix openssl)/lib -L$(brew --prefix readline)/lib -L$(brew --prefix zlib)/lib -L$(brew --prefix bzip2)/lib" pyenv install --patch 3.8.2 < <(curl -sSL https://github.com/python/cpython/commit/8ea6353.patch\?full_index\=1) @@ -71,28 +115,51 @@ pyenv global 3.9.15 echo 'eval "$(pyenv init --path)"' >> ~/.zshrc # 6. Visual Studio code echo $yellow"---------------------------" echo "Installing Visual Studio Code" echo "---------------------------"$white brew install --cask visual-studio-code # get ext list with code --list-extensions >> vs_code_extensions_list.txt and upload it to github wget https://gist.github.com/rohithegde/cb440b87f890145663016963e91774ae/raw/73de0705f1e35e3329347db88dab2569a450b428/vs-code-extensions-list-az-devops.txt cat vs-code-extensions-list-az-devops.txt | xargs -n 1 code --install-extension # 7. Azure echo $yellow"---------------------------" echo "Installing Azure CLI" echo "---------------------------"$white brew update && brew install azure-cli az --version # 8. Container mgmt echo $yellow"---------------------------" echo "Installing Podman" echo "---------------------------"$white #brew install --cask docker brew install podman podman machine init podman machine start podman --version # 9. Terraform echo $yellow"---------------------------" echo "Installing Terraform" echo "---------------------------"$white brew install terraform-docs brew install tfenv tfenv install 1.1.19 terraform version # 10. Git echo $yellow"---------------------------" echo "Installing git" echo "---------------------------"$white brew install git git --version # 11. Kubernetes and related tools echo $yellow"---------------------------" echo "K8s related tools" echo "---------------------------"$white az aks install-cli brew install derailed/k9s/k9s sudo pip3 install kube-shell @@ -110,27 +177,43 @@ echo "export PATH=${KREW_ROOT:-$HOME/.krew}/bin:$PATH" >> ~/.zshrc # 12. Golang echo $yellow"---------------------------" echo "Installing go" echo "---------------------------"$white mkdir -p $HOME/code/research/golang echo "export GOPATH=$HOME/code/research/golang" >> ~/.zshrc echo "export GOROOT=/usr/local/opt/go/libexec" >> ~/.zshrc echo "export PATH=$PATH:$GOPATH/bin" >> ~/.zshrc echo "export PATH=$PATH:$GOROOT/bin" >> ~/.zshrc brew install go #13 Blog echo $yellow"---------------------------" echo "Installing Jekyll" echo "---------------------------"$white sudo gem install jekyll bundler # 14. Miscellaneous echo $yellow"---------------------------" echo "Installing miscellaenous tools - " echo "---------------------------"$white # TF support for Zsh echo "zstyle ':prezto:load' pmodule-dirs $HOME/.zprezto-contrib" >> ~/.zpreztorc git clone https://github.com/prezto-contributions/prezto-terraform.git ~/.zprezto-contrib/terraform # MANUAL : add git, terraform to pmodule list wget -P ~/ https://gist.github.com/rohithegde/7481ba88172233caa278969b4bb6605a/raw/aliases.txt echo "source ~/aliases.txt" >> ~/.zshrc # 15. RSS Feed reader echo $yellow"---------------------------" echo "Installing netnewswire" echo "---------------------------"$white brew install --cask netnewswire # 15. Draw.io ie diagrams.net desktop app echo $yellow"---------------------------" echo "Installing Draw.io" echo "---------------------------"$white wget https://github.com/jgraph/drawio-desktop/releases/download/v14.6.13/draw.io-14.6.13.dmg echo "Please install the softwares present in the Downloads folder." -
rohithegde revised this gist
Nov 5, 2022 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -66,7 +66,8 @@ brew install pyenv brew install zlib CFLAGS="-I$(brew --prefix openssl)/include -I$(brew --prefix bzip2)/include -I$(brew --prefix readline)/include -I$(xcrun --show-sdk-path)/usr/include" LDFLAGS="-L$(brew --prefix openssl)/lib -L$(brew --prefix readline)/lib -L$(brew --prefix zlib)/lib -L$(brew --prefix bzip2)/lib" pyenv install --patch 3.8.2 < <(curl -sSL https://github.com/python/cpython/commit/8ea6353.patch\?full_index\=1) pyenv install -v 3.9.15 pyenv global 3.9.15 echo 'eval "$(pyenv init --path)"' >> ~/.zshrc # 6. Visual Studio code -
rohithegde revised this gist
Feb 17, 2022 . 1 changed file with 23 additions and 10 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -79,22 +79,35 @@ cat vs-code-extensions-list-az-devops.txt | xargs -n 1 code --install-extension brew update && brew install azure-cli brew install --cask powershell # 8. Docker brew install --cask docker # 9. Terraform #brew install terraform brew install terraform-docs brew install tfenv tfenv install 0.14.11 # 10. Git brew install git # 11. Kubernetes and related tools az aks install-cli brew install derailed/k9s/k9s sudo pip3 install kube-shell #brew install istioctl ( set -x; cd "$(mktemp -d)" && OS="$(uname | tr '[:upper:]' '[:lower:]')" && ARCH="$(uname -m | sed -e 's/x86_64/amd64/' -e 's/\(arm\)\(64\)\?.*/\1\2/' -e 's/aarch64$/arm64/')" && KREW="krew-${OS}_${ARCH}" && curl -fsSLO "https://github.com/kubernetes-sigs/krew/releases/latest/download/${KREW}.tar.gz" && tar zxvf "${KREW}.tar.gz" && ./"${KREW}" install krew ) echo "export PATH=${KREW_ROOT:-$HOME/.krew}/bin:$PATH" >> ~/.zshrc # 12. Golang mkdir -p $HOME/code/research/golang echo "export GOPATH=$HOME/code/research/golang" >> ~/.zshrc -
rohithegde revised this gist
Aug 13, 2021 . 1 changed file with 11 additions and 11 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -69,33 +69,33 @@ CFLAGS="-I$(brew --prefix openssl)/include -I$(brew --prefix bzip2)/include -I$( pyenv global 3.8.2 echo 'eval "$(pyenv init --path)"' >> ~/.zshrc # 6. Visual Studio code brew install --cask visual-studio-code # get ext list with code --list-extensions >> vs_code_extensions_list.txt and upload it to github wget https://gist.github.com/rohithegde/cb440b87f890145663016963e91774ae/raw/73de0705f1e35e3329347db88dab2569a450b428/vs-code-extensions-list-az-devops.txt cat vs-code-extensions-list-az-devops.txt | xargs -n 1 code --install-extension # 7. Azure brew update && brew install azure-cli brew install --cask powershell # 8. Kubernetes and Istio az aks install-cli brew install derailed/k9s/k9s sudo pip3 install kube-shell brew install istioctl # 9. Docker brew install --cask docker # 10. Terraform brew install terraform brew install terraform-docs # 11. Git brew install git # 12. Golang mkdir -p $HOME/code/research/golang echo "export GOPATH=$HOME/code/research/golang" >> ~/.zshrc echo "export GOROOT=/usr/local/opt/go/libexec" >> ~/.zshrc @@ -104,10 +104,10 @@ echo "export PATH=$PATH:$GOROOT/bin" >> ~/.zshrc brew install go brew install dep #13 Blog sudo gem install jekyll bundler # 14. Miscellaneous # TF support for Zsh echo "zstyle ':prezto:load' pmodule-dirs $HOME/.zprezto-contrib" >> ~/.zpreztorc git clone https://github.com/prezto-contributions/prezto-terraform.git ~/.zprezto-contrib/terraform @@ -116,7 +116,7 @@ wget -P ~/ https://gist.github.com/rohithegde/7481ba88172233caa278969 echo "source ~/aliases.txt" >> ~/.zshrc brew install --cask netnewswire # 15. Draw.io ie diagrams.net desktop app wget https://github.com/jgraph/drawio-desktop/releases/download/v14.6.13/draw.io-14.6.13.dmg echo "Please install the softwares present in the Downloads folder." @@ -126,7 +126,7 @@ echo "Please install the softwares present in the Downloads folder." #3. ~/aliases.txt # 4. ~/.p10k.sh - will be created automatically once you start zsh for the first time and run through the p10k options. # 16. Xcode from App Store # Alternative is to install using Mac store CLI : # brew install mas # mas list -
rohithegde revised this gist
Aug 13, 2021 . 1 changed file with 24 additions and 19 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -4,28 +4,14 @@ # Install Chrome : https://www.google.com/chrome/ # Customise System preferences (can use AppleScript to automate this too to some extent) # - Keyboard for cursor speed and Touch Bar # 1. Homebrew sudo chown -R $(whoami) $(brew --prefix)/* sudo chown -R $(whoami) /usr/local/share/zsh /usr/local/share/zsh/site-functions chmod u+w /usr/local/share/zsh /usr/local/share/zsh/site-functions /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" # 2. Zsh is already installed on new Macs chsh -s /bin/zsh # 2a. Prezto framework @@ -37,10 +23,8 @@ for rcfile in "${ZDOTDIR:-$HOME}"/.zprezto/runcoms/^README.md(.N); do ln -sf "$rcfile" "${ZDOTDIR:-$HOME}/.${rcfile:t}" done # 2b. Zsh theme # Install Fonts wget -P ~/Library/Fonts https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Regular.ttf wget -P ~/Library/Fonts https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Bold.ttf wget -P ~/Library/Fonts https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Italic.ttf @@ -64,6 +48,27 @@ echo "Plug 'preservim/nerdtree'" >> ~/.vimrc echo "call plug#end()" >> ~/.vimrc vim -E -s -u "$HOME/.vimrc" +PlugInstall +qall # 4a. Useful tools to upgrade your cli exp brew install wget htop tmux jq ncdu task gitleaks brew tap cantino/mcfly brew install mcfly echo 'eval "$(mcfly init zsh)"' >> ~/.zshrc # 5. Replace older tools # 5a. Curl with openssl brew uninstall curl brew install curl-openssl # 5b. Python3 brew install pyenv brew install zlib CFLAGS="-I$(brew --prefix openssl)/include -I$(brew --prefix bzip2)/include -I$(brew --prefix readline)/include -I$(xcrun --show-sdk-path)/usr/include" LDFLAGS="-L$(brew --prefix openssl)/lib -L$(brew --prefix readline)/lib -L$(brew --prefix zlib)/lib -L$(brew --prefix bzip2)/lib" pyenv install --patch 3.8.2 < <(curl -sSL https://github.com/python/cpython/commit/8ea6353.patch\?full_index\=1) pyenv global 3.8.2 echo 'eval "$(pyenv init --path)"' >> ~/.zshrc # 4. Visual Studio code brew install --cask visual-studio-code # get ext list with code --list-extensions >> vs_code_extensions_list.txt and upload it to github -
rohithegde revised this gist
Jul 19, 2021 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -10,7 +10,7 @@ sudo chown -R $(whoami) /usr/local/share/zsh /usr/local/share/zsh/site-functions chmod u+w /usr/local/share/zsh /usr/local/share/zsh/site-functions /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" # 1a. Homebrew - Basics : brew install wget gitleaks brew install htop brew install tmux jq ncdu task # 1b. Curl with openssl -
rohithegde revised this gist
Jul 18, 2021 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -113,6 +113,7 @@ brew install --cask netnewswire # Draw.io ie diagrams.net desktop app wget https://github.com/jgraph/drawio-desktop/releases/download/v14.6.13/draw.io-14.6.13.dmg echo "Please install the softwares present in the Downloads folder." #NOTE : Your setup is present in files #1. ~/.zshrc -
rohithegde revised this gist
Jul 18, 2021 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -111,6 +111,9 @@ wget -P ~/ https://gist.github.com/rohithegde/7481ba88172233caa278969 echo "source ~/aliases.txt" >> ~/.zshrc brew install --cask netnewswire # Draw.io ie diagrams.net desktop app wget https://github.com/jgraph/drawio-desktop/releases/download/v14.6.13/draw.io-14.6.13.dmg #NOTE : Your setup is present in files #1. ~/.zshrc #2. ~/.zpreztorc -
rohithegde revised this gist
Jul 18, 2021 . 1 changed file with 15 additions and 16 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,10 +1,9 @@ #!/bin/zsh # Manual steps : # Install Chrome : https://www.google.com/chrome/ # Customise System preferences (can use AppleScript to automate this too to some extent) # - Keyboard for cursor speed and Touch Bar # 1. Homebrew sudo chown -R $(whoami) $(brew --prefix)/* sudo chown -R $(whoami) /usr/local/share/zsh /usr/local/share/zsh/site-functions @@ -24,12 +23,13 @@ brew install zlib CFLAGS="-I$(brew --prefix openssl)/include -I$(brew --prefix bzip2)/include -I$(brew --prefix readline)/include -I$(xcrun --show-sdk-path)/usr/include" LDFLAGS="-L$(brew --prefix openssl)/lib -L$(brew --prefix readline)/lib -L$(brew --prefix zlib)/lib -L$(brew --prefix bzip2)/lib" pyenv install --patch 3.8.2 < <(curl -sSL https://github.com/python/cpython/commit/8ea6353.patch\?full_index\=1) pyenv global 3.8.2 # 2. Zsh chsh -s /bin/zsh # 2a. Prezto framework rm -rf "${ZDOTDIR:-$HOME}/.zprezto" git clone --recursive https://github.com/sorin-ionescu/prezto.git "${ZDOTDIR:-$HOME}/.zprezto" setopt EXTENDED_GLOB @@ -40,19 +40,17 @@ done # 2b. Zsh theme # Install Fonts echo 'eval "$(pyenv init --path)"' >> ~/.zshrc wget -P ~/Library/Fonts https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Regular.ttf wget -P ~/Library/Fonts https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Bold.ttf wget -P ~/Library/Fonts https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Italic.ttf wget -P ~/Library/Fonts https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Bold%20Italic.ttf echo 'ZSH_THEME="powerlevel10k/powerlevel10k"' >> ~/.zshrc setopt EXTENDED_GLOB for rcfile in "${ZDOTDIR:-$HOME}"/.zprezto/runcoms/^README.md(.N); do ln -s "$rcfile" "${ZDOTDIR:-$HOME}/.${rcfile:t}" done echo "zstyle ':prezto:module:prompt' theme 'powerlevel10k'" >> ~/.zpreztorc # 3. Vim # 3a. Package manager : vim-plug @@ -105,8 +103,7 @@ brew install dep sudo gem install jekyll bundler # 11. Miscellaneous # TF support for Zsh echo "zstyle ':prezto:load' pmodule-dirs $HOME/.zprezto-contrib" >> ~/.zpreztorc git clone https://github.com/prezto-contributions/prezto-terraform.git ~/.zprezto-contrib/terraform # MANUAL : add git, terraform to pmodule list @@ -118,11 +115,13 @@ brew install --cask netnewswire #1. ~/.zshrc #2. ~/.zpreztorc #3. ~/aliases.txt # 4. ~/.p10k.sh - will be created automatically once you start zsh for the first time and run through the p10k options. # 12. Xcode from App Store # Alternative is to install using Mac store CLI : # brew install mas # mas list # mas search Xcode
-
rohithegde revised this gist
Jul 17, 2021 . 1 changed file with 25 additions and 20 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,10 +1,14 @@ #!/bin/zsh # Manual steps : # Install Chrome if it doesnt exist : https://www.google.com/chrome/ # Customise System preferences (can use AppleScript to automate this too to some extent) # - Keyboard for cursor speed and Touch Bar # 1. Homebrew sudo chown -R $(whoami) $(brew --prefix)/* sudo chown -R $(whoami) /usr/local/share/zsh /usr/local/share/zsh/site-functions chmod u+w /usr/local/share/zsh /usr/local/share/zsh/site-functions /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" # 1a. Homebrew - Basics : brew install wget @@ -16,18 +20,21 @@ brew install curl-openssl # 1c. Python3 brew install pyenv brew install zlib CFLAGS="-I$(brew --prefix openssl)/include -I$(brew --prefix bzip2)/include -I$(brew --prefix readline)/include -I$(xcrun --show-sdk-path)/usr/include" LDFLAGS="-L$(brew --prefix openssl)/lib -L$(brew --prefix readline)/lib -L$(brew --prefix zlib)/lib -L$(brew --prefix bzip2)/lib" pyenv install --patch 3.8.2 < <(curl -sSL https://github.com/python/cpython/commit/8ea6353.patch\?full_index\=1) pyenv global 3.8.2 echo 'eval "$(pyenv init --path)"' >> ~/.zshrc # 2. Zsh chsh -s /bin/zsh # 2a. Prezto framework git clone --recursive https://github.com/sorin-ionescu/prezto.git "${ZDOTDIR:-$HOME}/.zprezto" setopt EXTENDED_GLOB for rcfile in "${ZDOTDIR:-$HOME}"/.zprezto/runcoms/^README.md(.N); do ln -sf "$rcfile" "${ZDOTDIR:-$HOME}/.${rcfile:t}" done @@ -38,7 +45,7 @@ wget -P ~/Library/Fonts https://github.com/romkatv/powerlevel10k-media/raw/maste wget -P ~/Library/Fonts https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Italic.ttf wget -P ~/Library/Fonts https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Bold%20Italic.ttf echo "zstyle :prezto:module:prompt theme powerlevel10k" >> ~/.zpreztorc echo "#POWERLEVEL9K_DIR_BACKGROUND='238'\ #POWERLEVEL9K_DIR_FOREGROUND='252' \ #POWERLEVEL9K_STATUS_BACKGROUND='238' \ #POWERLEVEL9K_STATUS_FOREGROUND='252' \ @@ -52,31 +59,31 @@ echo "#POWERLEVEL9K_DIR_BACKGROUND='238’\ wget -P ~/.vim/autoload/ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim # 3b. Vim Plugins mkdir -p ~/.vim/bundle echo "call plug#begin('~/.vim/bundle')" >> ~/.vimrc echo "Plug 'vim-airline/vim-airline'" >> ~/.vimrc echo "Plug 'vim-airline/vim-airline-themes'" >> ~/.vimrc echo "Plug 'preservim/nerdtree'" >> ~/.vimrc echo "call plug#end()" >> ~/.vimrc vim -E -s -u "$HOME/.vimrc" +PlugInstall +qall # 4. Visual Studio code brew install --cask visual-studio-code # get ext list with code --list-extensions >> vs_code_extensions_list.txt and upload it to github wget https://gist.github.com/rohithegde/cb440b87f890145663016963e91774ae/raw/73de0705f1e35e3329347db88dab2569a450b428/vs-code-extensions-list-az-devops.txt cat vs-code-extensions-list-az-devops.txt | xargs -n 1 code --install-extension # 5. Azure brew update && brew install azure-cli brew install --cask powershell # 6. Kubernetes and Istio az aks install-cli brew install derailed/k9s/k9s sudo pip3 install kube-shell brew install istioctl # 6. Docker brew install --cask docker # 7. Terraform brew install terraform @@ -103,21 +110,19 @@ echo "zstyle ':prezto:load' pmodule 'git'" >> ~/.zpreztorc echo "zstyle ':prezto:load' pmodule-dirs $HOME/.zprezto-contrib" >> ~/.zpreztorc git clone https://github.com/prezto-contributions/prezto-terraform.git ~/.zprezto-contrib/terraform # MANUAL : add git, terraform to pmodule list wget -P ~/ https://gist.github.com/rohithegde/7481ba88172233caa278969b4bb6605a/raw/aliases.txt echo "source ~/aliases.txt" >> ~/.zshrc brew install --cask netnewswire #NOTE : Your setup is present in files #1. ~/.zshrc #2. ~/.zpreztorc #3. ~/aliases.txt # 4. ~/.p10k.sh # 12. Xcode from App Store # Alternative is to install using Mac store CLI : # brew install mas # mas list # mas search Xcode
-
rohithegde revised this gist
Jul 17, 2021 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,4 @@ #!/usr/bin/env bash # Manual steps : # Install Chrome : https://www.google.com/chrome/ -
rohithegde revised this gist
Jul 17, 2021 . 1 changed file with 6 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -17,7 +17,7 @@ brew install curl-openssl brew install pyenv pyenv install 3.7.3 pyenv global 3.7.3 echo "eval "$(pyenv init -)"" >> ~/.zshrc # 2. Zsh chsh -s /bin/zsh @@ -36,7 +36,7 @@ wget -P ~/Library/Fonts https://github.com/romkatv/powerlevel10k-media/raw/maste wget -P ~/Library/Fonts https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Bold.ttf wget -P ~/Library/Fonts https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Italic.ttf wget -P ~/Library/Fonts https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Bold%20Italic.ttf echo "zstyle :prezto:module:prompt theme powerlevel10k" >> ~/.zpreztorc echo "#POWERLEVEL9K_DIR_BACKGROUND='238’\ #POWERLEVEL9K_DIR_FOREGROUND='252' \ #POWERLEVEL9K_STATUS_BACKGROUND='238' \ @@ -86,10 +86,10 @@ brew install git # 9. Golang mkdir -p $HOME/code/research/golang echo "export GOPATH=$HOME/code/research/golang" >> ~/.zshrc echo "export GOROOT=/usr/local/opt/go/libexec" >> ~/.zshrc echo "export PATH=$PATH:$GOPATH/bin" >> ~/.zshrc echo "export PATH=$PATH:$GOROOT/bin" >> ~/.zshrc brew install go brew install dep -
rohithegde revised this gist
Jul 17, 2021 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -104,6 +104,7 @@ git clone https://github.com/prezto-contributions/prezto-terraform.git ~/.zprezt # MANUAL : add git, terraform to pmodule list wget https://gist.github.com/rohithegde/7481ba88172233caa278969b4bb6605a/raw/aliases.txt echo "source ~/aliases.txt" >> ~/.zshrc brew install --cask netnewswire #NOTE : Your setup is present in files #1. ~/.zshrc -
rohithegde revised this gist
Jul 9, 2021 . 2 changed files with 121 additions and 107 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,107 +0,0 @@ This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,121 @@ # Manual steps : # Install Chrome : https://www.google.com/chrome/ # Customise System preferences (can use AppleScript to automate this too to some extent) # - Keyboard for cursor speed and Touch Bar # 1. Homebrew /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" # 1a. Homebrew - Basics : brew install wget brew install htop brew install tmux jq ncdu task # 1b. Curl with openssl brew uninstall curl brew install curl-openssl # 1c. Python3 brew install pyenv pyenv install 3.7.3 pyenv global 3.7.3 echo “eval "$(pyenv init -)" >> ~/.zshrc # 2. Zsh chsh -s /bin/zsh # 2a. Prezto framework git clone --recursive https://github.com/sorin-ionescu/prezto.git "${ZDOTDIR:-$HOME}/.zprezto" setopt EXTENDED_GLOB for rcfile in "${ZDOTDIR:-$HOME}"/.zprezto/runcoms/^README.md(.N); do ln -s "$rcfile" "${ZDOTDIR:-$HOME}/.${rcfile:t}" done # 2b. Zsh theme # Install Fonts wget -P ~/Library/Fonts https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Regular.ttf wget -P ~/Library/Fonts https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Bold.ttf wget -P ~/Library/Fonts https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Italic.ttf wget -P ~/Library/Fonts https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Bold%20Italic.ttf echo “zstyle :prezto:module:prompt theme powerlevel10k” >> ~/.zpreztorc echo "#POWERLEVEL9K_DIR_BACKGROUND='238’\ #POWERLEVEL9K_DIR_FOREGROUND='252' \ #POWERLEVEL9K_STATUS_BACKGROUND='238' \ #POWERLEVEL9K_STATUS_FOREGROUND='252' \ #POWERLEVEL9K_CONTEXT_BACKGROUND='240' \ #POWERLEVEL9K_CONTEXT_FOREGROUND='252' \ #POWERLEVEL9K_TIME_BACKGROUND='238' \ #POWERLEVEL9K_TIME_FOREGROUND='252" >> ~/.p10k.zsh # 3. Vim # 3a. Package manager : vim-plug wget -P ~/.vim/autoload/ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim # 3b. Vim Plugins mkdir -p ~/.vim/bundle echo "call plug#begin('~/.vim/bundle’)" >> ~/.vimrc echo "Plug 'vim-airline/vim-airline’" >> ~/.vimrc echo "Plug 'vim-airline/vim-airline-themes’" >> ~/.vimrc echo "Plug 'preservim/nerdtree’" >> ~/.vimrc echo "call plug#end()" >> ~/.vimrc vim -E -s -u "$HOME/.vimrc" +PlugInstall +qall # 4. Visual Studio code brew cask install visual-studio-code # get ext list with code --list-extensions >> vs_code_extensions_list.txt and upload it to github wget https://gist.github.com/rohithegde/cb440b87f890145663016963e91774ae/raw/73de0705f1e35e3329347db88dab2569a450b428/vs-code-extensions-list-az-devops.txt cat vs-code-extensions-list-az-devops.txt | xargs -n 1 code --install-extension # 5. Azure brew update && brew install azure-cli brew cask install powershell # 6. Kubernetes and Istio az aks install-cli brew install derailed/k9s/k9s sudo pip install kube-shell brew install istioctl # 6. Docker brew cask install docker # 7. Terraform brew install terraform brew install terraform-docs # 8. Git brew install git # 9. Golang mkdir -p $HOME/code/research/golang echo “export GOPATH=$HOME/code/research/golang” >> ~/.zshrc echo “export GOROOT=/usr/local/opt/go/libexec” >> ~/.zshrc echo “export PATH=$PATH:$GOPATH/bin” >> ~/.zshrc echo “export PATH=$PATH:$GOROOT/bin” >> ~/.zshrc brew install go brew install dep #10 Blog sudo gem install jekyll bundler # 11. Miscellaneous echo "zstyle ':prezto:load' pmodule 'git'" >> ~/.zpreztorc # 2. TF support for Zsh echo "zstyle ':prezto:load' pmodule-dirs $HOME/.zprezto-contrib" >> ~/.zpreztorc git clone https://github.com/prezto-contributions/prezto-terraform.git ~/.zprezto-contrib/terraform # MANUAL : add git, terraform to pmodule list wget https://gist.github.com/rohithegde/7481ba88172233caa278969b4bb6605a/raw/aliases.txt echo "source ~/aliases.txt" >> ~/.zshrc #NOTE : Your setup is present in files #1. ~/.zshrc #2. ~/.zpreztorc #3. ~/.aliases.txt # 4. ~/.p10k.sh # 12. Xcode from App Store # Alternative is to install using Mac store CLI : # brew install mas # mas list # mas search Xcode
-
rohithegde created this gist
Jul 9, 2021 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,107 @@ Manual steps : 1. Install Chrome : https://www.google.com/chrome/ 2. Customise System preferences (can use AppleScript to automate this too to some extent) 1. Keyboard for cursor speed and Touch Bar 1. Homebrew 1. /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" 2. Basics : 1. brew install wget 2. brew install htop 3. brew install tmux jq ncdu task 2. Curl with openssl 1. brew uninstall curl 2. brew install curl-openssl 3. Python3 1. brew install pyenv 2. pyenv install 3.7.3 3. pyenv global 3.7.3 4. echo “eval "$(pyenv init -)" >> ~/.zshrc 4. Zsh 1. zsh 2. Prezto framework 1. git clone --recursive https://github.com/sorin-ionescu/prezto.git "${ZDOTDIR:-$HOME}/.zprezto" 2. 1. setopt EXTENDED_GLOB 2. for rcfile in "${ZDOTDIR:-$HOME}"/.zprezto/runcoms/^README.md(.N); do 3. ln -s "$rcfile" "${ZDOTDIR:-$HOME}/.${rcfile:t}" 4. done 3. Zsh theme 1. Install Fonts 1. wget -P ~/Library/Fonts https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Regular.ttf 2. wget -P ~/Library/Fonts https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Bold.ttf 3. wget -P ~/Library/Fonts https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Italic.ttf 4. wget -P ~/Library/Fonts https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Bold%20Italic.ttf 2. echo “zstyle :prezto:module:prompt theme powerlevel10k” >> ~/.zpreztorc 3. echo “#POWERLEVEL9K_DIR_BACKGROUND='238’\ 1. #POWERLEVEL9K_DIR_FOREGROUND='252' 2. #POWERLEVEL9K_STATUS_BACKGROUND='238' 3. #POWERLEVEL9K_STATUS_FOREGROUND='252' 4. #POWERLEVEL9K_CONTEXT_BACKGROUND='240' 5. #POWERLEVEL9K_CONTEXT_FOREGROUND='252' 6. #POWERLEVEL9K_TIME_BACKGROUND='238' 7. #POWERLEVEL9K_TIME_FOREGROUND='252’" >> ~/.p10k.zsh 4. zsh 4. chsh -s /bin/zsh 5. Vim 1. Package manager : vim-plug 1. wget -P ~/.vim/autoload/ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim 2. Vim Plugins 1. mkdir -p ~/.vim/bundle 2. echo “call plug#begin('~/.vim/bundle’)” >> ~/.vimrc 3. echo “Plug 'vim-airline/vim-airline’” >> ~/.vimrc 4. echo “Plug 'vim-airline/vim-airline-themes’” >> ~/.vimrc 5. echo “Plug 'preservim/nerdtree’” >> ~/.vimrc 6. echo “call plug#end()” >> ~/.vimrc 7. vim -E -s -u "$HOME/.vimrc" +PlugInstall +qall 6. Visual Studio code 1. brew cask install visual-studio-code 2. # get ext list with code --list-extensions >> vs_code_extensions_list.txt and upload it to github 3. wget https://gist.github.com/rohithegde/cb440b87f890145663016963e91774ae/raw/73de0705f1e35e3329347db88dab2569a450b428/vs-code-extensions-list-az-devops.txt 4. cat vs-code-extensions-list-az-devops.txt | xargs -n 1 code --install-extension 7. Azure 1. brew update && brew install azure-cli 2. brew cask install powershell 8. Kubernetes and Istio 1. az aks install-cli 2. brew install derailed/k9s/k9s 3. sudo pip install kube-shell 4. brew install istioctl 9. Docker 1. brew cask install docker 10. Terraform 1. brew install terraform 2. brew install terraform-docs 11. Git 1. brew install git 12. Golang 1. mkdir -p $HOME/code/research/golang 2. echo “export GOPATH=$HOME/code/research/golang” >> ~/.zshrc 3. echo “export GOROOT=/usr/local/opt/go/libexec” >> ~/.zshrc 4. echo “export PATH=$PATH:$GOPATH/bin” >> ~/.zshrc 5. echo “export PATH=$PATH:$GOROOT/bin” >> ~/.zshrc 6. brew install go 7. brew install dep 13. Blog 1. sudo gem install jekyll bundler 14. Custom 1. echo "zstyle ':prezto:load' pmodule 'git'" >> ~/.zpreztorc 2. TF support for Zsh 1. echo "zstyle ':prezto:load' pmodule-dirs $HOME/.zprezto-contrib" >> ~/.zpreztorc 2. git clone https://github.com/prezto-contributions/prezto-terraform.git ~/.zprezto-contrib/terraform 3. MANUAL : add git, terraform to pmodule list 3. wget https://gist.github.com/rohithegde/7481ba88172233caa278969b4bb6605a/raw/aliases.txt 4. echo "source ~/aliases.txt" >> ~/.zshrc 5. NOTE : Your setup is present in files 1. ~/.zshrc 2. ~/.zpreztorc 3. ~/.aliases.txt 4. ~/.p10k.sh 6. Xcode from App Store 1. Alternative is to install using Mac store CLI : 1. brew install mas 2. mas list 3. mas search Xcode