You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use the following in many of my scripts to automatically log output to a file:
exec&>>(tee -a "output.log")
However, if I have this line in my file, many of the features of bashsupport pro are missing below it.
For example:
#!/bin/bash####################################### Setup Automagic Loggingexec&>>( tee -a "output.log")####################################### Function Declarationsfunctiontest_function() {
echo"This function does test function things..."
}
test_function;
With line 5 commented out, the "jump to declaration" feature works, however with it uncommented jump to declaration doesn't work and all of the function names are no longer color coded properly.
The text was updated successfully, but these errors were encountered:
@john-f-chamberlain That's a clever Bash redirect 😄
Thanks for reporting! I've fixed this for the next update. It's a parsing bug around &> followed by a process substitution, which wasn't properly supported at this place.
I use the following in many of my scripts to automatically log output to a file:
However, if I have this line in my file, many of the features of bashsupport pro are missing below it.
For example:
With line 5 commented out, the "jump to declaration" feature works, however with it uncommented jump to declaration doesn't work and all of the function names are no longer color coded properly.
The text was updated successfully, but these errors were encountered: