Using the .tcshrc environment file – Apple Shake 4 User Manual

Page 397

Advertising
background image

Chapter 14

Customizing Shake

397

a

To ensure you are still in your Home directory, type the “present working directory”
command:

pwd

Using the example from step 2, this should return:

/Users/john

b

Enter the following:

mv environment.plist .MacOSX

The environment.plist file is moved into the .MacOSX directory.

c

To confirm the environment.plist file is located in the .MacOSX directory, enter:

cd .MacOSX

This command moves you into the .MacOSX directory.

d

Enter:

ls

The content of the .MacOSX directory, the environment.plist, is listed.

16

Log out and then log in again.

To edit the .plist file:

1

In the Finder, choose Go > Go to Folder (or press Command-Shift-G).

2

In the “Go to the folder:” text field, enter the path to the invisible .MacOSX folder:

/Users/john/.MacOSX

3

Click Go.

The environment.plist file appears in the folder.

4

Open the .plist file in TextEdit (or another text editor).

5

Once your changes are made, choose File > Save.

6

Quit TextEdit.

Using the .tcshrc Environment File

You can also set environment variables (or aliases) using a .tcshrc file. Like the above
.plist file example, you can create the .tcshrc file in a text editor, or directly in a shell
using vi, pico, or another shell editor. Unlike the .plist file, however, you do not save the
.tcshrc file to the .MacOSX directory. Instead, the .tcshrc file is saved into your Home
($HOME) directory.

Usually, you define environment variables in tsch with the setenv command, for
example:

setenv audio /Volumes/shared/footage/audio_files/

This variable instructs Shake to automatically look in /Volumes/shared/footage/
audio_files/
when you import an audio file into Shake.

Advertising