|
|
|
Use Growl to monitor long-running shell commands
Great idea!
Use Growl to monitor long-running shell commands
I don't think sourced shell init files need to be executable. .bash_profile isn't. I didn't make .preexec.bash executable, and it works for me.
Use Growl to monitor long-running shell commands
To debug the "Some Command" problem, you could start by adding a line to preexec() that displays the command it stores in the environment:
function preexec () {
export PREEXEC_CMD="$BASH_COMMAND"
echo "DEBUG: PREEXEC_CMD set to '$BASH_COMMAND'"
export PREEXEC_TIME=$(date +'%s')
}
If that looks correct, then something goes wrong in precmd().
|
SearchFrom our Sponsor...Latest Lion HintsWhat's New:Hints1 new Hints in the last 24 hoursComments last 2 days
Links last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2013 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Powered by Geeklog Created this page in 0.09 seconds |
|