MacOS
Keyboard#
System Preferences
- Key Repeat: Fast
- Delay Until Repeat: Short
- Modifier Keys: Caps Lock -> Escape
Shortcuts
- App Shortcuts, +
- All Applications, Zoom, CMD+M
- All Applications, Minimize, CMD+H
- Chrome, Bookmark This Tab/Tab…, CMD+L
- Chrome, Open Location…, CMD+D
- Chrome, Downloads, SHIFT+CMD+D
- Input Sources
- Select the previous input source, CMD+E
- Spotlight
iTerm2#
Terminal emulator for macOS.
Preferences config
- Search -> Dim inactive split panes
- Search -> Global key bindings, +
- Select Split Pane Above, CMD+I
- Select Split Pane on Left, CMD+J
- Select Split Pane Below, CMD+K
- Select Split Pane on Right, CMD+L
Oh My Zsh#
Installation command
Custom Alias:
HSTR#
Easily view, navigate and search your command history.
Configure HSTR just by running:
Git Config#
Replace name, email, GitHub user.
Kubernetes#
kubectl#
The Kubernetes command-line tool.
kubectx#
Switch between contexts & namespaces.
Add the following to your .zshrc
file:
kube-ps1#
Kubernetes prompt for bash and zsh.
Add the following to your .zshrc
file:
kubectl-aliases#
Convenient shell aliases for kubectl.
Download .kubectl_aliases file & Add the following to your .zshrc
file: