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
Copy file name to clipboardExpand all lines: README.md
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -77,6 +77,14 @@ echo ${preexec_functions[@]}
77
77
echo${precmd_functions[@]}
78
78
```
79
79
80
+
##Subshells
81
+
bash-preexec does not support invoking preexec() for subshells by default. It must be enabled by setting `__bp_enable_subshells`.
82
+
```bash
83
+
# Enable experimental subshell support
84
+
export __bp_enable_subshells="true"
85
+
```
86
+
This is disabled by default due to buggy situations related to to `functrace` and Bash's `DEBUG trap`. See [Issue #25](https://github.com/rcaloras/bash-preexec/issues/25)
87
+
80
88
##Tests
81
89
You can run tests using [Bats](https://github.com/sstephenson/bats).
0 commit comments