From the course: Learning Zsh
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Configuration files
- [Instructor] When using Z shell, you can be productive without setting any configuration or by setting just a few initial options. But one of the great things about Z shell is that it's so configurable and that the configuration you set can be copied to other systems. So wherever you use Z shell, your specific preferences and settings are available. The configuration for Z shell on a system is stored in a few different files. In each of these files you can set options, define user directories, export environment variables, define functions and aliases and make other changes that will influence how Z shell works. And before we take a look at them, we need to take a quick detour into the types of shells that Z shell can provide. These are login shells, interactive shells and non-interactive shells. A login shell is what we get when first logging in or first opening a terminal window with a shell in it. It's…