# macOS zsh Shortcuts: Speed Up Your Terminal ## Introduction zsh is the default shell on macOS. Learning a few shortcuts saves you tons of typing. ## Tab Completion Press `Tab` to autocomplete file/folder names: cd Doc # becomes cd Documents/ ## History Search Press `Ctrl+R` then type part of a previous command to find it. ## Arrow Keys - Up arrow: previous command - Down arrow: next command ## Useful Shortcuts - `Ctrl+A`: move cursor to start of line - `Ctrl+E`: move cursor to end of line - `Ctrl+U`: delete everything before cursor - `Ctrl+K`: delete everything after cursor ## Aliases Add to `~/.zshrc`: alias ll="ls -la" Then run `source ~/.zshrc`. ## 3 Things to Remember - `Tab` autocompletes names. - `Ctrl+R` searches command history. - Aliases live in `~/.zshrc`.