Common dotfiles for MacOS or Linux environment which I use daily for my work and personal development
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# Turn off brew analytics
brew analytics off
curl -o $HOME/.Brewfile https://raw.githubusercontent.com/ozhankaraman/dotfiles/master/.Brewfile
brew bundle install --file=$HOME/.Brewfilehttps://github.com/alexellis/arkade
curl -sLS https://get.arkade.dev | sudo sh
arkade get argocd cilium clusterctl helm k3d k9s kind kubebuilder kubectl talosctl timoni vaulthttps://github.com/junegunn/fzf
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
~/.fzf/installsh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
chmod 755 /usr/local/share/zsh /usr/local/share/zsh/site-functions
rm -f .zshrc .p10k.zsh
curl -o $HOME/.zshrc https://raw.githubusercontent.com/ozhankaraman/dotfiles/master/.zshrc
curl -o $HOME/.p10k.zsh https://raw.githubusercontent.com/ozhankaraman/dotfiles/master/.p10k.zshmkdir -p $HOME/.vim/colors
curl -o $HOME/.vim/colors/gruvbox.vim https://raw.githubusercontent.com/morhetz/gruvbox/refs/heads/master/colors/gruvbox.vim
curl -o $HOME/.vimrc https://raw.githubusercontent.com/ozhankaraman/dotfiles/master/.vimrccurl -o $HOME/.gitconfig https://raw.githubusercontent.com/ozhankaraman/dotfiles/master/.github_usernamemkdir -p $HOME/.ssh
chmod 700 $HOME/.ssh
cat << EOF >> $HOME/.ssh/config
Host *.zz.zebrastack.com
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
EOF
chmod 600 $HOME/.ssh/config
# Download your ssh keys under .ssh folderhttps://krew.sigs.k8s.io/docs/user-guide/setup/install/
(
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
)
kubectl krew update
kubectl krew install ctx ns tree view-utilization view-allocations access-matrix who-can whoami neat get-all klock ktop node-shell oidc-login stern virt node-resource cond pods-onbrew install krew kubectx
kubectl krew install tree view-utilization view-allocations access-matrix who-can whoami neat get-all klock ktop node-shell oidc-login stern virt node-resource cond pods-onmkdir $HOME/.bin
curl -o $HOME/.bin/rs https://raw.githubusercontent.com/ozhankaraman/dotfiles/refs/heads/master/bin/rs
chmod 755 $HOME/.bin/*- Install Microsoft Word, Excel bundle from: www.office.com
- Download SimpleMind from: https://simpleapps.eu/download/full-edition/simplemind-pro-mac/
- Install Moom from Apple Store
- Setup Easy Move+Resize for Alt key
- Enable hot corners on top right for sleep
- iterm
- Appearance > General > Theme = Compact
- Preferences > Profiles > select your profile > Terminal tab > check "Silence bell"
- MacBook 12"
- Custom > define window size 16x16 | Move and Zoom > ⌘L => Empty one pixel around perimeter and fill 15x15
- iMac 27"
- Custom > define window size 24x16