This is my personal macOS terminal setup. If you want your terminal look and act like it is described below, feel free to use and customize it to your needs.
This setup uses zsh
shell with several plugins: z
, git
and thefuck
. Among all the diversity of plugins out there, I only found some use of these three. Plugins are managed by ohmyzsh
tool, check it out here.
git
plugin provides some shortcuts for interacting with git which can really come in handy, e.g.gcm
stands forgit checkout master
orgd
stands forgit diff
. Check out the latest plugin version here.z
plugin allows jumping to directories by the fraction of the path, e.g.z some
could bring you to/really/long/path/something_in_the_way/
directory, which saves a ton of time on a long run. Link to the plugin repo.thefuck
plugin is useful for correcting typos in entered commands without rewriting the whole command as long as this command is simple enough and were entered before. E.g. if you enteredgit checkout mamster
andfuck
after that, it would suggestgit checkout master
to you. Source code can be found here.
Plugins used are listed in .zshrc file.
iTerm2 terminal emulator works really well for me. There are couple things I'd like to highlight:
- Native
Terminal
's split panes for some reason never worked out for me, I findiTerm2
's a lot more intuitive. And having multiple open terminal windows at once is pure evil. - Paste history.
All the features can be found on their official website.
I use Starship shell prompt, this one is pure graphics configuration and has nothing to do with functionality.
My configuration can be found in starship.toml