Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 23 lines (17 sloc) 442 Bytes
#!/bin/bash
# autorun.sh
#
# Installation:
# Add this line to your .bashrc or .bash-profile:
#
# source /path/to/autorun.sh
#
# A file named .autorun will be sourced automatically when you enter the directory.
_autorun() {
if [ -f "./.autorun" ]; then
echo 'Running .autorun script in current directory...'
source ./.autorun
fi
}
chpwd_functions=(_autorun)
#export PROMPT_COMMAND=_virtualenv_auto_activate
Jump to Line
Something went wrong with that request. Please try again.