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 ran the histdb -d command and found there are some unicode chars in the call. History is not functioning. Below is the histdb -d call. I am using zplug to install the zsh-histdb project. I think it may be related to my prompt, which is Powerlevel9k with NerdFonts. I have included my Powerlevel9k config as well if that might help.
histdb -d
selectstrftime(case when datetime(max_start, 'unixepoch') > datetime('now', 'start of day') then'%H:%M'else'%d/%m' end, max_start, 'unixepoch', 'localtime') as time, session as ses, dir, argv as cmd from (select session, replace(places.dir, '/home/dschaper', '~') as dir, replace(commands.argv, '', '���') as argv, max(start_time) as max_start
from
history
left join commands on history.command_id = commands.rowid
left join places on history.place_id = places.rowid
where not (commands.argv like 'histdb%') and places.host='europa'
group by history.command_id, history.place_id
order by max_start desc
limit 34) order by max_start asc
Update: A bad alias was causing the problems with having to CTRL-C to get any commands to work, but the database still has the unicode and I think that's what is causing the sqlite3 database to not populate with the information. Let me know if my zshrc files would be any help to debugging. https://github.com/dschaper/dotfiles
There's some unicode characters that go into the query, but they are only there for column alignment.
It should only really affect the output display or what is stored in the database. I am not sure what to suggest for debugging - maybe stick some print statements in the source and see where it gets to?
I ran the
histdb -d
command and found there are some unicode chars in the call. History is not functioning. Below is thehistdb -d
call. I am using zplug to install the zsh-histdb project. I think it may be related to my prompt, which is Powerlevel9k with NerdFonts. I have included my Powerlevel9k config as well if that might help.The text was updated successfully, but these errors were encountered: