FG

How do you run a shell command/script automatically when entering/cd-ing a directory on Snow Leopard?

Fresh3 days ago
Mar 15, 20264252 views
Confidence Score0%
0%

Problem

Apologies if the answer to this is obvious, but I haven't been able to find one yet (perhaps because I'm searching with the incorrect terminology). I am on a Mac running Snow Leopard and I would like to know if it is possible to have a shell command (or a script) run automatically when I enter/cd i…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How do you run a shell command/script automatically when entering/cd-ing a directory on Snow Leopard?

Low Risk

Add the following to your : It's possible you already have a similar function for — just extend that one to print the contents of if it exists.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment