Customize Your Defaults

Now that you know the basics of the command line and Terminal, you may find some activities are a bit more complicated than they should be, or feel that you’d like to personalize the way your shell works to suit your needs. One way to exercise more control over the command-line environment is to customize your defaults, which are stored in a special file your shell reads every time it runs. In this chapter, I explain how this process works and how you can use it to save typing, customize your prompt, and more.

About Startup Files

A startup file (also known as an initialization file, or informally as a profile) is a file your shell reads every time you start a new session that can contain a variety of preferences for ...

Get Take Control of the Mac Command Line with Terminal, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.