Skip to main content
replaced http://unix.stackexchange.com/ with https://unix.stackexchange.com/
Source Link

Possible Duplicate:
Execute bash scripts on entering a directoryExecute bash scripts on entering a directory

I am running an environment which requires some very specific tool versions. The commands to set up the environment are in a script called set_foo_env.sh

Suppose I have a directory ~/repository/foo/. Is is possible to run set_foo_env.sh as soon as I enter the foo directory?

Possible Duplicate:
Execute bash scripts on entering a directory

I am running an environment which requires some very specific tool versions. The commands to set up the environment are in a script called set_foo_env.sh

Suppose I have a directory ~/repository/foo/. Is is possible to run set_foo_env.sh as soon as I enter the foo directory?

Possible Duplicate:
Execute bash scripts on entering a directory

I am running an environment which requires some very specific tool versions. The commands to set up the environment are in a script called set_foo_env.sh

Suppose I have a directory ~/repository/foo/. Is is possible to run set_foo_env.sh as soon as I enter the foo directory?

edited tags
Link
Gilles 'SO- stop being evil'
  • 865.9k
  • 205
  • 1.8k
  • 2.3k
insert duplicate link
Source Link

Possible Duplicate:
Execute bash scripts on entering a directory

I am running an environment which requires some very specific tool versions. The commands to set up the environment are in a script called set_foo_env.sh

Suppose I have a directory ~/repository/foo/. Is is possible to run set_foo_env.sh as soon as I enter the foo directory?

I am running an environment which requires some very specific tool versions. The commands to set up the environment are in a script called set_foo_env.sh

Suppose I have a directory ~/repository/foo/. Is is possible to run set_foo_env.sh as soon as I enter the foo directory?

Possible Duplicate:
Execute bash scripts on entering a directory

I am running an environment which requires some very specific tool versions. The commands to set up the environment are in a script called set_foo_env.sh

Suppose I have a directory ~/repository/foo/. Is is possible to run set_foo_env.sh as soon as I enter the foo directory?

Post Closed as "exact duplicate" by manatwork, Ulrich Dangel, jw013, jasonwryan, phemmer
Tweeted twitter.com/#!/StackUnix/status/222775945625481216
deleted 7 characters in body
Source Link
Michael Mrozek
  • 95.8k
  • 40
  • 245
  • 236
Loading
Source Link
boffin
  • 673
  • 1
  • 7
  • 12
Loading