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
Hey,I got in trouble with shournal.Can you please help me?This is my command and return:
Command:
SHOURNAL_ENABLE
Return:
"shournal bash integration - ERROR: Commands with spaces are set to be ignored from history. Please disable that, e.g. HISTCONTROL=ignoredups or HISTCONTROL=''
Then I tried to fix it :
export HISTCONTROL=ignoredups
Then I run the example command:
cat aa > foo
shournal --query --wfile foo
RETURN:
No results found matching the query.
The text was updated successfully, but these errors were encountered:
Hi. From the given information it is a bit hard to say what's the problem here 😅. I have some guesses though:
you did not call SHOURNAL_ENABLE after adjusting HISTCONTROL
you are using the fanotify backend and the line source /usr/share/shournal/SOURCE_ME.bash is not part of your ~/.bashrc
you are in a working directory excluded from observation (see ~/.config/shournal/config.ini section File write-events)
If that doesn't help you can enable debugging by calling SHOURNAL_SET_VERBOSITY dbg and SHOURNAL_ENABLE afterwards. When pasting the output here, please also include your Linux distribution, the way how shournal was installed as well as the content of your config file.
I encourage you to read the README-shell-integration if you haven't done so yet.
A final note - HISTCONTROL should not be exported 😉
Hey,I got in trouble with shournal.Can you please help me?This is my command and return:
Command:
SHOURNAL_ENABLE
Return:
"shournal bash integration - ERROR: Commands with spaces are set to be ignored from history. Please disable that, e.g. HISTCONTROL=ignoredups or HISTCONTROL=''
Then I tried to fix it :
export HISTCONTROL=ignoredups
Then I run the example command:
cat aa > foo
shournal --query --wfile foo
RETURN:
No results found matching the query.
The text was updated successfully, but these errors were encountered: