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.

Environment and options

Environment and options - Unix Tutorial

From the course: Learning Zsh

Start my 1-month free trial

Environment and options

- [Instructor] A shell is a space where we can interact with the system using text commands. But a shell is a lot more than just a little box where we type. It's easy to forget that a shell is a program of its own. That program itself has some information and settings that it's important to know about. So before we dive in and start using Z shell for regular daily activities, I want to spend some time talking about features that help improve and extend the shell, and which otherwise let you configure the functionality and the experience of using the shell. Within the shell, there are a set of variables called environment variables that provide various pieces of information for the shell and for programs running within it. There are a few standard environment variables and you can add others as needed. We can take a look at the current environment variables with ENV. Here's the shell variable for example, and there's…

Contents