Skip to content

Mortle/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Mortle's dotfiles

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. 226017720-f8c71544-e043-4a79-ae1d-db2e874c47fa

Shell & plugins

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 for git checkout master or gd stands for git 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 entered git checkout mamster and fuck after that, it would suggest git checkout master to you. Source code can be found here.

Plugins used are listed in .zshrc file.

Terminal

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 find iTerm2'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.

Prompt

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

About

macOS terminal setup

Resources

Stars

Watchers

Forks

Languages