File tree 1 file changed +9
-1
lines changed
1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ After installing, remember to restart your shell.
136
136
<TabItem label = " ble.sh" >
137
137
Atuin works best in bash when using [ ble.sh] ( https://github.com/akinomyoga/ble.sh ) .
138
138
139
- With ble.sh installed, just add atuin to your .bashrc
139
+ With ble.sh installed and loaded in ` ~/.bashrc ` , just add atuin to your ` ~/ .bashrc`
140
140
141
141
``` shell
142
142
echo ' eval "$(atuin init bash)"' >> ~ /.bashrc
@@ -150,6 +150,14 @@ After installing, remember to restart your shell.
150
150
bash-preexec currently has an issue where it will stop honoring ` ignorespace ` .
151
151
While Atuin will ignore commands prefixed with whitespace, they may still end up in your bash history.
152
152
Please check your configuration! All other shells do not have this issue.
153
+
154
+ To use Atuin in ` bash < 4 ` with bash-preexec, the option ` enter_accept ` needs
155
+ to be turned on (which is so by default).
156
+
157
+ bash-preexec cannot properly invoke the ` preexec ` hook for subshell commands
158
+ ` (...) ` , function definitions ` func() { ...; } ` , empty for-in-statements `for
159
+ i in; do ...; done`, etc., so those commands and duration may not be recorded
160
+ in the Atuin's history correctly.
153
161
</Aside >
154
162
155
163
To use bash-preexec, download and initialize it
You can’t perform that action at this time.
0 commit comments